summaryrefslogtreecommitdiff
path: root/gweb/gweb.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-30 13:53:50 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2010-10-30 13:53:50 (GMT)
commitcfb55ed986edf9a51f8cc2fc9d81a015ab90c5c6 (patch)
tree429bc5253cf1a5f1494b8e6420aab06ac1bf8419 /gweb/gweb.h
parent9533b9b43154b23177e3b4f57ca977cfe4103cb0 (diff)
downloadconnman-cfb55ed986edf9a51f8cc2fc9d81a015ab90c5c6.zip
connman-cfb55ed986edf9a51f8cc2fc9d81a015ab90c5c6.tar.gz
connman-cfb55ed986edf9a51f8cc2fc9d81a015ab90c5c6.tar.bz2
Add support for adding custom user agent string
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 e32a896..cf1446c 100644
--- a/gweb/gweb.h
+++ b/gweb/gweb.h
@@ -54,6 +54,9 @@ void g_web_set_debug(GWeb *web, GWebDebugFunc func, gpointer user_data);
gboolean g_web_add_nameserver(GWeb *web, const char *address);
+gboolean g_web_set_user_agent(GWeb *web, const char *format, ...)
+ __attribute__((format(printf, 2, 3)));
+
guint g_web_request(GWeb *web, GWebMethod method, const char *url,
GWebResultFunc func, gpointer user_data);