summaryrefslogtreecommitdiff
path: root/gweb/gweb.h
diff options
context:
space:
mode:
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 e32a8968..cf1446cd 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);