Move virDomain related APIs out of libvirt.c

Introduce a src/libvirt-domain.c file to hold all the
methods related to the virDomain type.
This commit is contained in:
Daniel P. Berrange 2014-10-22 16:29:09 +01:00
parent 8444015446
commit 67c08fccdc
5 changed files with 11158 additions and 11128 deletions

View File

@ -24,6 +24,7 @@ included_files = {
"libvirt.h": "header with general libvirt API definitions",
"virterror.h": "header with error specific API definitions",
"libvirt.c": "Main interfaces for the libvirt library",
"libvirt-domain.c": "Domain interfaces for the libvirt library",
"libvirt-domain-snapshot.c": "Domain snapshot interfaces for the libvirt library",
"libvirt-interface.c": "Interface interfaces for the libvirt library",
"libvirt-network.c": "Network interfaces for the libvirt library",

View File

@ -57,6 +57,7 @@ src/interface/interface_backend_netcf.c
src/interface/interface_backend_udev.c
src/internal.h
src/libvirt.c
src/libvirt-domain.c
src/libvirt-domain-snapshot.c
src/libvirt-lxc.c
src/libvirt-network.c

View File

@ -189,6 +189,7 @@ DRIVER_SOURCES = \
fdstream.c fdstream.h \
$(NODE_INFO_SOURCES) \
libvirt.c libvirt_internal.h \
libvirt-domain.c \
libvirt-domain-snapshot.c \
libvirt-interface.c \
libvirt-network.c \
@ -2194,6 +2195,7 @@ libvirt_setuid_rpc_client_la_SOURCES = \
remote/lxc_protocol.c \
datatypes.c \
libvirt.c \
libvirt-domain.c \
libvirt-domain-snapshot.c \
libvirt-interface.c \
libvirt-network.c \

11112
src/libvirt-domain.c Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff