<info>Provides the connection pointer associated with an interface. The reference counter on the connection is not increased by this call. WARNING: When writing libvirt bindings in other languages, do not use this function. Instead, store the connection and the interface object together.</info>
<returntype='virConnectPtr'info='the virConnectPtr or NULL in case of failure.'/>
<argname='iface'type='virInterfacePtr'info='pointer to a interface'/>
<argname='iface'type='virInterfacePtr'info='pointer to an interface'/>
<info>Get the MAC for a interface as string. For more information about MAC see RFC4122.</info>
<info>Get the MAC for an interface as string. For more information about MAC see RFC4122.</info>
<returntype='const char *'info='a pointer to the MAC address (in null-terminated ASCII format) or NULL, the string need not be deallocated its lifetime will be the same as the interface object.'/>
<info>Get the public name for that interface</info>
<returntype='const char *'info='a pointer to the name or NULL, the string need not be deallocated its lifetime will be the same as the interface object.'/>
<info>Increment the reference count on the interface. For each additional call to this method, there shall be a corresponding call to virInterfaceFree to release the reference count, once the caller no longer needs the reference to this object. This method is typically useful for applications where multiple threads are using a connection, and it is required that the connection remain open until all threads have finished using it. ie, each new thread using a interface would increment the reference count.</info>
<info>Increment the reference count on the interface. For each additional call to this method, there shall be a corresponding call to virInterfaceFree to release the reference count, once the caller no longer needs the reference to this object. This method is typically useful for applications where multiple threads are using a connection, and it is required that the connection remain open until all threads have finished using it. ie, each new thread using an interface would increment the reference count.</info>
<returntype='int'info='0 in case of success, -1 in case of failure.'/>
<argname='iface'type='virInterfacePtr'info='the interface to hold a reference on'/>
</function>
...
...
@@ -1649,7 +1662,7 @@ see note above'/>
<info>Provide an XML description of the network. The description may be reused later to relaunch the network with virNetworkCreateXML().</info>
<returntype='char *'info='a 0 terminated UTF-8 encoded XML instance, or NULL in case of error. the caller must free() the returned value.'/>
<info>Try to lookup a secret on the given hypervisor based on its UUID.</info>
<returntype='virSecretPtr'info='a new secret object or NULL in case of failure. If the secret cannot be found, then VIR_ERR_NO_SECRET error is raised.'/>
<argname='conn'type='virConnectPtr'info='pointer to the hypervisor connection'/>
<argname='uuid'type='const unsigned char *'info='the raw UUID for the secret'/>
<argname='uuid'type='const char *'info='ID of a secret'/>
<info>Try to lookup a secret on the given hypervisor based on its UUID.</info>
<returntype='virSecretPtr'info='a new secret object or NULL in case of failure. If the secret cannot be found, then VIR_ERR_NO_SECRET error is raised.'/>
<argname='conn'type='virConnectPtr'info='pointer to the hypervisor connection'/>
<argname='uuidstr'type='const char *'info='the string UUID for the secret'/>
<info>Try to lookup a secret on the given hypervisor based on its usage</info>
<returntype='virSecretPtr'info='a new secret object or NULL in case of failure. If the secret cannot be found, then VIR_ERR_NO_SECRET error is raised.'/>
<argname='conn'type='virConnectPtr'info='pointer to the hypervisor connection'/>
<argname='usageType'type='int'info='the type of secret usage'/>
<argname='usageID'type='const char *'info='identifier of the object using the secret'/>
<info>Increment the reference count on the secret. For each additional call to this method, there shall be a corresponding call to virSecretFree to release the reference count, once the caller no longer needs the reference to this object. This method is typically useful for applications where multiple threads are using a connection, and it is required that the connection remain open until all threads have finished using it. ie, each new thread using a secret would increment the reference count.</info>