summaryrefslogtreecommitdiff
path: root/gweb/gweb.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-30 15:17:31 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2010-10-30 15:17:31 (GMT)
commit094dda71c3d48a8e4d395681e56b4ea9159985ac (patch)
tree6efad9e0eb72b270d2132c00a20873eabb4f15ac /gweb/gweb.h
parent2c9d84797247bcbe034b185153159e8caf312695 (diff)
downloadconnman-094dda71c3d48a8e4d395681e56b4ea9159985ac.zip
connman-094dda71c3d48a8e4d395681e56b4ea9159985ac.tar.gz
connman-094dda71c3d48a8e4d395681e56b4ea9159985ac.tar.bz2
Add support for setting accept option for GWeb
Diffstat (limited to 'gweb/gweb.h')
-rw-r--r--gweb/gweb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gweb/gweb.h b/gweb/gweb.h
index cf1446c..28e9acb 100644
--- a/gweb/gweb.h
+++ b/gweb/gweb.h
@@ -54,6 +54,8 @@ 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_accept(GWeb *web, const char *format, ...)
+ __attribute__((format(printf, 2, 3)));
gboolean g_web_set_user_agent(GWeb *web, const char *format, ...)
__attribute__((format(printf, 2, 3)));