diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2016-05-10 10:58:06 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2016-05-10 10:58:06 +0200 |
commit | bb0f179b2a95816fef81edd02cd9610b127175b6 (patch) | |
tree | 58dfc60a02e24ae69f6bd24210670f766ce653b3 | |
parent | 840939c4f49a9e74f162ff8abb63d2e20961f7de (diff) |
proxy: Move additional header API to private header
These new entry points are not exported in libgovirt.so, so they should
not appear in public (installed) headers.
-rw-r--r-- | govirt/ovirt-proxy-private.h | 3 | ||||
-rw-r--r-- | govirt/ovirt-proxy.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/govirt/ovirt-proxy-private.h b/govirt/ovirt-proxy-private.h index e57edad..8adae76 100644 --- a/govirt/ovirt-proxy-private.h +++ b/govirt/ovirt-proxy-private.h @@ -78,6 +78,9 @@ gboolean ovirt_rest_call_finish(GAsyncResult *result, GError **err); GList *ovirt_proxy_get_vms_internal(OvirtProxy *proxy); void ovirt_proxy_append_additional_headers(OvirtProxy *proxy, RestProxyCall *call); +void ovirt_proxy_add_header(OvirtProxy *proxy, const char *header, const char *value); +void ovirt_proxy_add_headers(OvirtProxy *proxy, ...); +void ovirt_proxy_add_headers_from_valist(OvirtProxy *proxy, va_list headers); G_END_DECLS diff --git a/govirt/ovirt-proxy.h b/govirt/ovirt-proxy.h index 7a2fe8b..2f9c2be 100644 --- a/govirt/ovirt-proxy.h +++ b/govirt/ovirt-proxy.h @@ -66,9 +66,6 @@ struct _OvirtProxyClass { GType ovirt_proxy_get_type(void); OvirtProxy *ovirt_proxy_new(const char *host); -void ovirt_proxy_add_header(OvirtProxy *proxy, const char *header, const char *value); -void ovirt_proxy_add_headers(OvirtProxy *proxy, ...); -void ovirt_proxy_add_headers_from_valist(OvirtProxy *proxy, va_list headers); G_DEPRECATED_FOR(ovirt_collection_lookup_resource) OvirtVm *ovirt_proxy_lookup_vm(OvirtProxy *proxy, const char *vm_name); |