diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-10-30 17:52:40 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-10-30 17:52:40 +0200 |
commit | 9716a57aabbb2dc9b196030b3f9d837f0cd6861f (patch) | |
tree | 5b31f7fa47546ac2e75f2fbc1e36d7c5afa6501d /gweb/gweb.h | |
parent | d706f4948c2c9634944598b989385c449ed19591 (diff) | |
download | connman-9716a57aabbb2dc9b196030b3f9d837f0cd6861f.tar.gz connman-9716a57aabbb2dc9b196030b3f9d837f0cd6861f.tar.bz2 connman-9716a57aabbb2dc9b196030b3f9d837f0cd6861f.zip |
Add proper support for HTTP close connection option
Diffstat (limited to 'gweb/gweb.h')
-rw-r--r-- | gweb/gweb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gweb/gweb.h b/gweb/gweb.h index 28e9acb0..3fc54f89 100644 --- a/gweb/gweb.h +++ b/gweb/gweb.h @@ -59,6 +59,9 @@ gboolean g_web_set_accept(GWeb *web, const char *format, ...) gboolean g_web_set_user_agent(GWeb *web, const char *format, ...) __attribute__((format(printf, 2, 3))); +void g_web_set_close_connection(GWeb *web, gboolean enabled); +gboolean g_web_get_close_connection(GWeb *web); + guint g_web_request(GWeb *web, GWebMethod method, const char *url, GWebResultFunc func, gpointer user_data); |