summaryrefslogtreecommitdiff
path: root/gweb/gweb.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-31 00:59:38 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-10-31 00:59:38 +0200
commit3b9a4a65e4850a01713324634fa7ccd064322508 (patch)
treee4eec8a97b229ad106266789db40e39b8d020bfd /gweb/gweb.h
parent000a60dfed237e3d00584f0c3b475aa777be1ae0 (diff)
downloadconnman-3b9a4a65e4850a01713324634fa7ccd064322508.tar.gz
connman-3b9a4a65e4850a01713324634fa7ccd064322508.tar.bz2
connman-3b9a4a65e4850a01713324634fa7ccd064322508.zip
Add support for parsing HTTP status code response
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 daeb262d..24c84a03 100644
--- a/gweb/gweb.h
+++ b/gweb/gweb.h
@@ -67,6 +67,8 @@ guint g_web_request(GWeb *web, GWebMethod method, const char *url,
gboolean g_web_cancel(GWeb *web, guint id);
+guint16 g_web_result_get_status(GWebResult *result);
+
gboolean g_web_result_get_chunk(GWebResult *result,
const guint8 **chunk, gsize *length);