summaryrefslogtreecommitdiff
path: root/gweb/gweb.h
diff options
context:
space:
mode:
authorMohamed Abbas <mabbas@linux.intel.com>2010-12-27 22:17:40 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2010-12-28 17:21:32 (GMT)
commit11e5f0cbf33f9ef3d5af7a7989cae51b0e963884 (patch)
tree5b8f95c63fdac94da3fb5bfc0091c4872096654f /gweb/gweb.h
parent315a38ee636840ea9e44f54d56db324a35a186d3 (diff)
downloadconnman-11e5f0cbf33f9ef3d5af7a7989cae51b0e963884.zip
connman-11e5f0cbf33f9ef3d5af7a7989cae51b0e963884.tar.gz
connman-11e5f0cbf33f9ef3d5af7a7989cae51b0e963884.tar.bz2
Add g_web_result_get_header support.
Add all http response header to hash table and allow user to get these header values. Header with same key will be replaced by last header value.
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 5bbcc9a..2979db5 100644
--- a/gweb/gweb.h
+++ b/gweb/gweb.h
@@ -75,6 +75,8 @@ gboolean g_web_cancel_request(GWeb *web, guint id);
guint16 g_web_result_get_status(GWebResult *result);
+gboolean g_web_result_get_header(GWebResult *result,
+ const char *header, const char **value);
gboolean g_web_result_get_chunk(GWebResult *result,
const guint8 **chunk, gsize *length);