summaryrefslogtreecommitdiff
path: root/gweb/gweb.h
diff options
context:
space:
mode:
authorRonald Tessier <ronald.tessier@linux.intel.com>2011-12-06 17:46:29 +0100
committerMarcel Holtmann <marcel@holtmann.org>2011-12-18 21:39:22 -0800
commit91f267c4e4df44dc1c6aef59975ed375887e33f9 (patch)
treeb29f1361fc96a79f47d21c757106f5f92f198173 /gweb/gweb.h
parentd8719c0ac57cb019286e3cfc6886244d8d7ecd02 (diff)
downloadconnman-91f267c4e4df44dc1c6aef59975ed375887e33f9.tar.gz
connman-91f267c4e4df44dc1c6aef59975ed375887e33f9.tar.bz2
connman-91f267c4e4df44dc1c6aef59975ed375887e33f9.zip
gweb: Extend gweb to send file
Diffstat (limited to 'gweb/gweb.h')
-rw-r--r--gweb/gweb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gweb/gweb.h b/gweb/gweb.h
index cfeceb63..56405d2a 100644
--- a/gweb/gweb.h
+++ b/gweb/gweb.h
@@ -74,6 +74,9 @@ guint g_web_request_get(GWeb *web, const char *url,
guint g_web_request_post(GWeb *web, const char *url,
const char *type, GWebInputFunc input,
GWebResultFunc func, gpointer user_data);
+guint g_web_request_post_file(GWeb *web, const char *url,
+ const char *type, const char *file,
+ GWebResultFunc func, gpointer user_data);
gboolean g_web_cancel_request(GWeb *web, guint id);