summaryrefslogtreecommitdiff
path: root/gweb/gweb.h
diff options
context:
space:
mode:
Diffstat (limited to 'gweb/gweb.h')
-rw-r--r--gweb/gweb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gweb/gweb.h b/gweb/gweb.h
index 1ab2a9ff..e32a8968 100644
--- a/gweb/gweb.h
+++ b/gweb/gweb.h
@@ -31,14 +31,17 @@ extern "C" {
#endif
struct _GWeb;
+struct _GWebResult;
typedef struct _GWeb GWeb;
+typedef struct _GWebResult GWebResult;
typedef enum {
G_WEB_METHOD_GET,
} GWebMethod;
-typedef void (*GWebResultFunc)(uint16_t status, gpointer user_data);
+typedef void (*GWebResultFunc)(guint16 status, GWebResult *result,
+ gpointer user_data);
typedef void (*GWebDebugFunc)(const char *str, gpointer user_data);