mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +00:00
Tue May 8 11:49:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/hash.c, src/internal.h, src/libvirt_sym.version: Export __virGetDomain and __virGetNetwork for use by the libvirtd. The double underscores indicate that these interfaces are not officially supported parts of the libvirt API or ABI.
This commit is contained in:
parent
e0e95c53fc
commit
0d555708bd
@ -1,3 +1,10 @@
|
||||
Tue May 8 11:49:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
|
||||
|
||||
* src/hash.c, src/internal.h, src/libvirt_sym.version: Export
|
||||
__virGetDomain and __virGetNetwork for use by the libvirtd.
|
||||
The double underscores indicate that these interfaces are
|
||||
not officially supported parts of the libvirt API or ABI.
|
||||
|
||||
Tue May 8 11:14:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
|
||||
|
||||
* src/hash.c, src/internal.h, src/xs_internal.c: Remove
|
||||
|
@ -744,7 +744,7 @@ virFreeConnect(virConnectPtr conn) {
|
||||
* Returns a pointer to the domain, or NULL in case of failure
|
||||
*/
|
||||
virDomainPtr
|
||||
virGetDomain(virConnectPtr conn, const char *name, const unsigned char *uuid) {
|
||||
__virGetDomain(virConnectPtr conn, const char *name, const unsigned char *uuid) {
|
||||
virDomainPtr ret = NULL;
|
||||
|
||||
if ((!VIR_IS_CONNECT(conn)) || (name == NULL) || (uuid == NULL) ||
|
||||
@ -922,7 +922,7 @@ done:
|
||||
* Returns a pointer to the network, or NULL in case of failure
|
||||
*/
|
||||
virNetworkPtr
|
||||
virGetNetwork(virConnectPtr conn, const char *name, const unsigned char *uuid) {
|
||||
__virGetNetwork(virConnectPtr conn, const char *name, const unsigned char *uuid) {
|
||||
virNetworkPtr ret = NULL;
|
||||
|
||||
if ((!VIR_IS_CONNECT(conn)) || (name == NULL) || (uuid == NULL) ||
|
||||
|
@ -198,19 +198,22 @@ const char *__virErrorMsg(virErrorNumber error, const char *info);
|
||||
|
||||
virConnectPtr virGetConnect (void);
|
||||
int virFreeConnect (virConnectPtr conn);
|
||||
virDomainPtr virGetDomain (virConnectPtr conn,
|
||||
virDomainPtr __virGetDomain (virConnectPtr conn,
|
||||
const char *name,
|
||||
const unsigned char *uuid);
|
||||
int virFreeDomain (virConnectPtr conn,
|
||||
virDomainPtr domain);
|
||||
virDomainPtr virGetDomainByID(virConnectPtr conn,
|
||||
int id);
|
||||
virNetworkPtr virGetNetwork (virConnectPtr conn,
|
||||
virNetworkPtr __virGetNetwork (virConnectPtr conn,
|
||||
const char *name,
|
||||
const unsigned char *uuid);
|
||||
int virFreeNetwork (virConnectPtr conn,
|
||||
virNetworkPtr domain);
|
||||
|
||||
#define virGetDomain(c,n,u) __virGetDomain((c),(n),(u))
|
||||
#define virGetNetwork(c,n,u) __virGetNetwork((c),(n),(u))
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
@ -93,5 +93,8 @@
|
||||
__virConfWriteFile;
|
||||
__virConfWriteMem;
|
||||
|
||||
__virGetDomain;
|
||||
__virGetNetwork;
|
||||
|
||||
local: *;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user