summaryrefslogtreecommitdiff
path: root/gweb/gweb.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-30 12:58:32 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2010-10-30 12:58:32 (GMT)
commit3f06a3d031f45bc45033f9088ebca9d0a5e9d45a (patch)
tree7ff7e2a2b88dcf494180724e4f9db98cb979f232 /gweb/gweb.h
parenta95f2716f609c2b1dbf49a11830535d88177dffd (diff)
downloadconnman-3f06a3d031f45bc45033f9088ebca9d0a5e9d45a.zip
connman-3f06a3d031f45bc45033f9088ebca9d0a5e9d45a.tar.gz
connman-3f06a3d031f45bc45033f9088ebca9d0a5e9d45a.tar.bz2
Add basic update for GWeb request API
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 1ab2a9f..e32a896 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);