summaryrefslogtreecommitdiff
path: root/rest/rest-proxy-call.h
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2013-09-10 17:32:35 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2014-08-25 18:42:07 +0200
commit3513c3d80c4b5f60ab6531e5514a538f3e93f85e (patch)
tree8d9d9f710c54fc4cb104911d69b739189b7e074a /rest/rest-proxy-call.h
parent02baeb0785924cc84af8102a96ab8ccd8d858469 (diff)
downloadlibrest-3513c3d80c4b5f60ab6531e5514a538f3e93f85e.tar.gz
Add rest_proxy_call_get_function()
There are rest_proxy_call_[gs]et_method() methods, a rest_proxy_call_set_function() method, but no corresponding getter. Adding it makes the API more consistent. https://bugzilla.gnome.org/show_bug.cgi?id=708358
Diffstat (limited to 'rest/rest-proxy-call.h')
-rw-r--r--rest/rest-proxy-call.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rest/rest-proxy-call.h b/rest/rest-proxy-call.h
index 1e96afd..4b8f983 100644
--- a/rest/rest-proxy-call.h
+++ b/rest/rest-proxy-call.h
@@ -109,6 +109,8 @@ const char * rest_proxy_call_get_method (RestProxyCall *call);
void rest_proxy_call_set_function (RestProxyCall *call,
const gchar *function);
+const char * rest_proxy_call_get_function (RestProxyCall *call);
+
void rest_proxy_call_add_header (RestProxyCall *call,
const gchar *header,
const gchar *value);