diff options
author | Mohamed Abbas <mabbas@linux.intel.com> | 2010-12-27 14:17:40 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-12-28 09:21:32 -0800 |
commit | 11e5f0cbf33f9ef3d5af7a7989cae51b0e963884 (patch) | |
tree | 5b8f95c63fdac94da3fb5bfc0091c4872096654f /gweb/gweb.h | |
parent | 315a38ee636840ea9e44f54d56db324a35a186d3 (diff) | |
download | connman-11e5f0cbf33f9ef3d5af7a7989cae51b0e963884.tar.gz connman-11e5f0cbf33f9ef3d5af7a7989cae51b0e963884.tar.bz2 connman-11e5f0cbf33f9ef3d5af7a7989cae51b0e963884.zip |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gweb/gweb.h b/gweb/gweb.h index 5bbcc9aa..2979db52 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); |