#include "libvirt_c_oneoffs.c"
+/* Automatically generated binding for virConnectClose.
+ * Function signature in generator.pl is "conn : free"
+ */
+
CAMLprim value
ocaml_libvirt_connect_close (value connv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virConnectGetHostname.
+ * Function signature in generator.pl is "conn : string"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRCONNECTGETHOSTNAME
extern char *virConnectGetHostname (virConnectPtr conn) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virConnectGetURI.
+ * Function signature in generator.pl is "conn : string"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRCONNECTGETURI
extern char *virConnectGetURI (virConnectPtr conn) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virConnectGetType.
+ * Function signature in generator.pl is "conn : static string"
+ */
+
CAMLprim value
ocaml_libvirt_connect_get_type (value connv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virConnectNumOfDomains.
+ * Function signature in generator.pl is "conn : int"
+ */
+
CAMLprim value
ocaml_libvirt_connect_num_of_domains (value connv)
{
CAMLreturn (Val_int (r));
}
+/* Automatically generated binding for virConnectListDomains.
+ * Function signature in generator.pl is "conn, int : int array"
+ */
+
CAMLprim value
ocaml_libvirt_connect_list_domains (value connv, value iv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virConnectNumOfDefinedDomains.
+ * Function signature in generator.pl is "conn : int"
+ */
+
CAMLprim value
ocaml_libvirt_connect_num_of_defined_domains (value connv)
{
CAMLreturn (Val_int (r));
}
+/* Automatically generated binding for virConnectListDefinedDomains.
+ * Function signature in generator.pl is "conn, int : string array"
+ */
+
CAMLprim value
ocaml_libvirt_connect_list_defined_domains (value connv, value iv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virConnectNumOfNetworks.
+ * Function signature in generator.pl is "conn : int"
+ */
+
CAMLprim value
ocaml_libvirt_connect_num_of_networks (value connv)
{
CAMLreturn (Val_int (r));
}
+/* Automatically generated binding for virConnectListNetworks.
+ * Function signature in generator.pl is "conn, int : string array"
+ */
+
CAMLprim value
ocaml_libvirt_connect_list_networks (value connv, value iv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virConnectNumOfDefinedNetworks.
+ * Function signature in generator.pl is "conn : int"
+ */
+
CAMLprim value
ocaml_libvirt_connect_num_of_defined_networks (value connv)
{
CAMLreturn (Val_int (r));
}
+/* Automatically generated binding for virConnectListDefinedNetworks.
+ * Function signature in generator.pl is "conn, int : string array"
+ */
+
CAMLprim value
ocaml_libvirt_connect_list_defined_networks (value connv, value iv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virConnectNumOfStoragePools.
+ * Function signature in generator.pl is "conn : int"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRCONNECTNUMOFSTORAGEPOOLS
extern int virConnectNumOfStoragePools (virConnectPtr conn) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virConnectListStoragePools.
+ * Function signature in generator.pl is "conn, int : string array"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRCONNECTLISTSTORAGEPOOLS
extern int virConnectListStoragePools (virConnectPtr conn, char **const names, int maxnames) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virConnectNumOfDefinedStoragePools.
+ * Function signature in generator.pl is "conn : int"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRCONNECTNUMOFDEFINEDSTORAGEPOOLS
extern int virConnectNumOfDefinedStoragePools (virConnectPtr conn) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virConnectListDefinedStoragePools.
+ * Function signature in generator.pl is "conn, int : string array"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRCONNECTLISTDEFINEDSTORAGEPOOLS
extern int virConnectListDefinedStoragePools (virConnectPtr conn, char **const names, int maxnames) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virConnectGetCapabilities.
+ * Function signature in generator.pl is "conn : string"
+ */
+
CAMLprim value
ocaml_libvirt_connect_get_capabilities (value connv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virDomainCreateLinux.
+ * Function signature in generator.pl is "conn, string, 0U : dom"
+ */
+
CAMLprim value
ocaml_libvirt_domain_create_linux (value connv, value strv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virDomainCreateLinuxJob.
+ * Function signature in generator.pl is "conn, string, 0U : job"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRDOMAINCREATELINUXJOB
extern virJobPtr virDomainCreateLinuxJob (virConnectPtr conn, const char *str, unsigned int flags) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virDomainFree.
+ * Function signature in generator.pl is "dom : free"
+ */
+
CAMLprim value
ocaml_libvirt_domain_free (value domv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virDomainDestroy.
+ * Function signature in generator.pl is "dom : free"
+ */
+
CAMLprim value
ocaml_libvirt_domain_destroy (value domv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virDomainLookupByName.
+ * Function signature in generator.pl is "conn, string : dom"
+ */
+
CAMLprim value
ocaml_libvirt_domain_lookup_by_name (value connv, value strv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virDomainLookupByID.
+ * Function signature in generator.pl is "conn, int : dom"
+ */
+
CAMLprim value
ocaml_libvirt_domain_lookup_by_id (value connv, value iv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virDomainLookupByUUID.
+ * Function signature in generator.pl is "conn, uuid : dom"
+ */
+
CAMLprim value
ocaml_libvirt_domain_lookup_by_uuid (value connv, value uuidv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virDomainLookupByUUIDString.
+ * Function signature in generator.pl is "conn, string : dom"
+ */
+
CAMLprim value
ocaml_libvirt_domain_lookup_by_uuid_string (value connv, value strv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virDomainGetName.
+ * Function signature in generator.pl is "dom : static string"
+ */
+
CAMLprim value
ocaml_libvirt_domain_get_name (value domv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virDomainGetOSType.
+ * Function signature in generator.pl is "dom : string"
+ */
+
CAMLprim value
ocaml_libvirt_domain_get_os_type (value domv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virDomainGetXMLDesc.
+ * Function signature in generator.pl is "dom, 0 : string"
+ */
+
CAMLprim value
ocaml_libvirt_domain_get_xml_desc (value domv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virDomainGetUUID.
+ * Function signature in generator.pl is "dom : uuid"
+ */
+
CAMLprim value
ocaml_libvirt_domain_get_uuid (value domv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virDomainGetUUIDString.
+ * Function signature in generator.pl is "dom : uuid string"
+ */
+
CAMLprim value
ocaml_libvirt_domain_get_uuid_string (value domv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virDomainGetMaxVcpus.
+ * Function signature in generator.pl is "dom : int"
+ */
+
CAMLprim value
ocaml_libvirt_domain_get_max_vcpus (value domv)
{
CAMLreturn (Val_int (r));
}
+/* Automatically generated binding for virDomainSave.
+ * Function signature in generator.pl is "dom, string : unit"
+ */
+
CAMLprim value
ocaml_libvirt_domain_save (value domv, value strv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virDomainSaveJob.
+ * Function signature in generator.pl is "dom, string : job from dom"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRDOMAINSAVEJOB
extern virJobPtr virDomainSaveJob (virDomainPtr dom, const char *str) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virDomainRestore.
+ * Function signature in generator.pl is "conn, string : unit"
+ */
+
CAMLprim value
ocaml_libvirt_domain_restore (value connv, value strv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virDomainRestoreJob.
+ * Function signature in generator.pl is "conn, string : job"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRDOMAINRESTOREJOB
extern virJobPtr virDomainRestoreJob (virConnectPtr conn, const char *str) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virDomainCoreDump.
+ * Function signature in generator.pl is "dom, string, 0 : unit"
+ */
+
CAMLprim value
ocaml_libvirt_domain_core_dump (value domv, value strv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virDomainCoreDumpJob.
+ * Function signature in generator.pl is "dom, string, 0 : job from dom"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRDOMAINCOREDUMPJOB
extern virJobPtr virDomainCoreDumpJob (virDomainPtr dom, const char *str, int flags) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virDomainSuspend.
+ * Function signature in generator.pl is "dom : unit"
+ */
+
CAMLprim value
ocaml_libvirt_domain_suspend (value domv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virDomainResume.
+ * Function signature in generator.pl is "dom : unit"
+ */
+
CAMLprim value
ocaml_libvirt_domain_resume (value domv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virDomainShutdown.
+ * Function signature in generator.pl is "dom : unit"
+ */
+
CAMLprim value
ocaml_libvirt_domain_shutdown (value domv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virDomainReboot.
+ * Function signature in generator.pl is "dom, 0 : unit"
+ */
+
CAMLprim value
ocaml_libvirt_domain_reboot (value domv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virDomainDefineXML.
+ * Function signature in generator.pl is "conn, string : dom"
+ */
+
CAMLprim value
ocaml_libvirt_domain_define_xml (value connv, value strv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virDomainUndefine.
+ * Function signature in generator.pl is "dom : unit"
+ */
+
CAMLprim value
ocaml_libvirt_domain_undefine (value domv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virDomainCreate.
+ * Function signature in generator.pl is "dom : unit"
+ */
+
CAMLprim value
ocaml_libvirt_domain_create (value domv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virDomainCreateJob.
+ * Function signature in generator.pl is "dom, 0U : job from dom"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRDOMAINCREATEJOB
extern virJobPtr virDomainCreateJob (virDomainPtr dom, unsigned int flags) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virDomainAttachDevice.
+ * Function signature in generator.pl is "dom, string : unit"
+ */
+
CAMLprim value
ocaml_libvirt_domain_attach_device (value domv, value strv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virDomainDetachDevice.
+ * Function signature in generator.pl is "dom, string : unit"
+ */
+
CAMLprim value
ocaml_libvirt_domain_detach_device (value domv, value strv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virDomainGetAutostart.
+ * Function signature in generator.pl is "dom : bool"
+ */
+
CAMLprim value
ocaml_libvirt_domain_get_autostart (value domv)
{
CAMLreturn (b ? Val_true : Val_false);
}
+/* Automatically generated binding for virDomainSetAutostart.
+ * Function signature in generator.pl is "dom, bool : unit"
+ */
+
CAMLprim value
ocaml_libvirt_domain_set_autostart (value domv, value bv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virNetworkFree.
+ * Function signature in generator.pl is "net : free"
+ */
+
CAMLprim value
ocaml_libvirt_network_free (value netv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virNetworkDestroy.
+ * Function signature in generator.pl is "net : free"
+ */
+
CAMLprim value
ocaml_libvirt_network_destroy (value netv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virNetworkLookupByName.
+ * Function signature in generator.pl is "conn, string : net"
+ */
+
CAMLprim value
ocaml_libvirt_network_lookup_by_name (value connv, value strv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virNetworkLookupByUUID.
+ * Function signature in generator.pl is "conn, uuid : net"
+ */
+
CAMLprim value
ocaml_libvirt_network_lookup_by_uuid (value connv, value uuidv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virNetworkLookupByUUIDString.
+ * Function signature in generator.pl is "conn, string : net"
+ */
+
CAMLprim value
ocaml_libvirt_network_lookup_by_uuid_string (value connv, value strv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virNetworkGetName.
+ * Function signature in generator.pl is "net : static string"
+ */
+
CAMLprim value
ocaml_libvirt_network_get_name (value netv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virNetworkGetXMLDesc.
+ * Function signature in generator.pl is "net, 0 : string"
+ */
+
CAMLprim value
ocaml_libvirt_network_get_xml_desc (value netv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virNetworkGetBridgeName.
+ * Function signature in generator.pl is "net : string"
+ */
+
CAMLprim value
ocaml_libvirt_network_get_bridge_name (value netv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virNetworkGetUUID.
+ * Function signature in generator.pl is "net : uuid"
+ */
+
CAMLprim value
ocaml_libvirt_network_get_uuid (value netv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virNetworkGetUUIDString.
+ * Function signature in generator.pl is "net : uuid string"
+ */
+
CAMLprim value
ocaml_libvirt_network_get_uuid_string (value netv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virNetworkUndefine.
+ * Function signature in generator.pl is "net : unit"
+ */
+
CAMLprim value
ocaml_libvirt_network_undefine (value netv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virNetworkCreateXML.
+ * Function signature in generator.pl is "conn, string : net"
+ */
+
CAMLprim value
ocaml_libvirt_network_create_xml (value connv, value strv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virNetworkCreateXMLJob.
+ * Function signature in generator.pl is "conn, string : job"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRNETWORKCREATEXMLJOB
extern virJobPtr virNetworkCreateXMLJob (virConnectPtr conn, const char *str) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virNetworkDefineXML.
+ * Function signature in generator.pl is "conn, string : net"
+ */
+
CAMLprim value
ocaml_libvirt_network_define_xml (value connv, value strv)
{
CAMLreturn (rv);
}
+/* Automatically generated binding for virNetworkCreate.
+ * Function signature in generator.pl is "net : unit"
+ */
+
CAMLprim value
ocaml_libvirt_network_create (value netv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virNetworkCreateJob.
+ * Function signature in generator.pl is "net : job from net"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRNETWORKCREATEJOB
extern virJobPtr virNetworkCreateJob (virNetworkPtr net) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virNetworkGetAutostart.
+ * Function signature in generator.pl is "net : bool"
+ */
+
CAMLprim value
ocaml_libvirt_network_get_autostart (value netv)
{
CAMLreturn (b ? Val_true : Val_false);
}
+/* Automatically generated binding for virNetworkSetAutostart.
+ * Function signature in generator.pl is "net, bool : unit"
+ */
+
CAMLprim value
ocaml_libvirt_network_set_autostart (value netv, value bv)
{
CAMLreturn (Val_unit);
}
+/* Automatically generated binding for virStoragePoolFree.
+ * Function signature in generator.pl is "pool : free"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLFREE
extern int virStoragePoolFree (virStoragePoolPtr pool) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolDestroy.
+ * Function signature in generator.pl is "pool : free"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLDESTROY
extern int virStoragePoolDestroy (virStoragePoolPtr pool) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolLookupByName.
+ * Function signature in generator.pl is "conn, string : pool"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLLOOKUPBYNAME
extern virStoragePoolPtr virStoragePoolLookupByName (virConnectPtr conn, const char *str) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolLookupByUUID.
+ * Function signature in generator.pl is "conn, uuid : pool"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLLOOKUPBYUUID
extern virStoragePoolPtr virStoragePoolLookupByUUID (virConnectPtr conn, const unsigned char *str) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolLookupByUUIDString.
+ * Function signature in generator.pl is "conn, string : pool"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLLOOKUPBYUUIDSTRING
extern virStoragePoolPtr virStoragePoolLookupByUUIDString (virConnectPtr conn, const char *str) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolGetName.
+ * Function signature in generator.pl is "pool : static string"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLGETNAME
extern const char *virStoragePoolGetName (virStoragePoolPtr pool) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolGetXMLDesc.
+ * Function signature in generator.pl is "pool, 0 : string"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLGETXMLDESC
extern char *virStoragePoolGetXMLDesc (virStoragePoolPtr pool, int flags) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolGetUUID.
+ * Function signature in generator.pl is "pool : uuid"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLGETUUID
extern int virStoragePoolGetUUID (virStoragePoolPtr pool, unsigned char *) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolGetUUIDString.
+ * Function signature in generator.pl is "pool : uuid string"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLGETUUIDSTRING
extern int virStoragePoolGetUUIDString (virStoragePoolPtr pool, char *) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolCreateXML.
+ * Function signature in generator.pl is "conn, string : pool"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLCREATEXML
extern virStoragePoolPtr virStoragePoolCreateXML (virConnectPtr conn, const char *str) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolDefineXML.
+ * Function signature in generator.pl is "conn, string : pool"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLDEFINEXML
extern virStoragePoolPtr virStoragePoolDefineXML (virConnectPtr conn, const char *str) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolUndefine.
+ * Function signature in generator.pl is "pool : unit"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLUNDEFINE
extern int virStoragePoolUndefine (virStoragePoolPtr pool) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolCreate.
+ * Function signature in generator.pl is "pool : unit"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLCREATE
extern int virStoragePoolCreate (virStoragePoolPtr pool) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolShutdown.
+ * Function signature in generator.pl is "pool : unit"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLSHUTDOWN
extern int virStoragePoolShutdown (virStoragePoolPtr pool) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolRefresh.
+ * Function signature in generator.pl is "pool, 0U : unit"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLREFRESH
extern int virStoragePoolRefresh (virStoragePoolPtr pool, unsigned int flags) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolGetAutostart.
+ * Function signature in generator.pl is "pool : bool"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLGETAUTOSTART
extern int virStoragePoolGetAutostart (virStoragePoolPtr pool, int *r) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolSetAutostart.
+ * Function signature in generator.pl is "pool, bool : unit"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLSETAUTOSTART
extern int virStoragePoolSetAutostart (virStoragePoolPtr pool, int b) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStorageVolFree.
+ * Function signature in generator.pl is "vol : free"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEVOLFREE
extern int virStorageVolFree (virStorageVolPtr vol) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStorageVolDestroy.
+ * Function signature in generator.pl is "vol : free"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEVOLDESTROY
extern int virStorageVolDestroy (virStorageVolPtr vol) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStorageVolLookupByKey.
+ * Function signature in generator.pl is "conn, string : vol"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEVOLLOOKUPBYKEY
extern virStorageVolPtr virStorageVolLookupByKey (virConnectPtr conn, const char *str) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStorageVolLookupByPath.
+ * Function signature in generator.pl is "conn, string : vol"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEVOLLOOKUPBYPATH
extern virStorageVolPtr virStorageVolLookupByPath (virConnectPtr conn, const char *str) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStorageVolGetXMLDesc.
+ * Function signature in generator.pl is "vol, 0 : string"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEVOLGETXMLDESC
extern char *virStorageVolGetXMLDesc (virStorageVolPtr vol, int flags) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStorageVolGetPath.
+ * Function signature in generator.pl is "vol : string"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEVOLGETPATH
extern char *virStorageVolGetPath (virStorageVolPtr vol) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStorageVolGetKey.
+ * Function signature in generator.pl is "vol : static string"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEVOLGETKEY
extern const char *virStorageVolGetKey (virStorageVolPtr vol) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStorageVolGetName.
+ * Function signature in generator.pl is "vol : static string"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEVOLGETNAME
extern const char *virStorageVolGetName (virStorageVolPtr vol) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virStoragePoolLookupByVolume.
+ * Function signature in generator.pl is "vol : pool from vol"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRSTORAGEPOOLLOOKUPBYVOLUME
extern virStoragePoolPtr virStoragePoolLookupByVolume (virStorageVolPtr vol) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virJobFree.
+ * Function signature in generator.pl is "job : free"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRJOBFREE
extern int virJobFree (virJobPtr job) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virJobCancel.
+ * Function signature in generator.pl is "job : unit"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRJOBCANCEL
extern int virJobCancel (virJobPtr job) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virJobGetNetwork.
+ * Function signature in generator.pl is "job : net from job"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRJOBGETNETWORK
extern virNetworkPtr virJobGetNetwork (virJobPtr job) __attribute__((weak));
#endif
}
+/* Automatically generated binding for virJobGetDomain.
+ * Function signature in generator.pl is "job : dom from job"
+ */
+
#ifdef HAVE_WEAK_SYMBOLS
#ifdef HAVE_VIRJOBGETDOMAIN
extern virDomainPtr virJobGetDomain (virJobPtr job) __attribute__((weak));