summaryrefslogtreecommitdiff
path: root/govirt/ovirt-proxy-private.h
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2013-06-26 15:26:52 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2013-07-05 11:44:59 +0200
commita548da41e58ea03bdf627adaf021312be9729aea (patch)
tree76537c06ae70d0ed71db4670f9f0b7258b193a73 /govirt/ovirt-proxy-private.h
parent2f3e4510068ec916d7a2610c0aeb049e750d837c (diff)
Add generic ovirt_proxy_get_collection_xml_async() helper
Diffstat (limited to 'govirt/ovirt-proxy-private.h')
-rw-r--r--govirt/ovirt-proxy-private.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/govirt/ovirt-proxy-private.h b/govirt/ovirt-proxy-private.h
index d36bab7..5c8df84 100644
--- a/govirt/ovirt-proxy-private.h
+++ b/govirt/ovirt-proxy-private.h
@@ -32,6 +32,17 @@ G_BEGIN_DECLS
RestXmlNode *ovirt_proxy_get_collection_xml(OvirtProxy *proxy,
const char *href,
GError **error);
+typedef gboolean (*OvirtProxyGetCollectionAsyncCb)(OvirtProxy* proxy,
+ RestXmlNode *root_node,
+ gpointer user_data,
+ GError **error);
+void ovirt_proxy_get_collection_xml_async(OvirtProxy *proxy,
+ const char *href,
+ GSimpleAsyncResult *result,
+ GCancellable *cancellable,
+ OvirtProxyGetCollectionAsyncCb callback,
+ gpointer user_data,
+ GDestroyNotify destroy_func);
typedef gboolean (*OvirtProxyCallAsyncCb)(OvirtProxy *proxy,
RestProxyCall *call,