Move virDomainSnapshot related APIs out of libvirt.c

Introduce a src/libvirt-domain-snapshot.c file to hold all the
methods related to the virDomainSnapshot type.
This commit is contained in:
Daniel P. Berrange 2014-10-22 16:29:09 +01:00
parent 0be3403db6
commit 62cf32d0c9
6 changed files with 1227 additions and 1194 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-snapshot.c": "Domain snapshot interfaces for the libvirt library",
"virerror.c": "implements error handling and reporting code for libvirt",
"virevent.c": "event loop for monitoring file handles",
"virtypedparam.c": "virTypedParameters APIs",

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-snapshot.c
src/libvirt-lxc.c
src/libvirt-qemu.c
src/locking/lock_daemon.c

View File

@ -189,6 +189,7 @@ DRIVER_SOURCES = \
fdstream.c fdstream.h \
$(NODE_INFO_SOURCES) \
libvirt.c libvirt_internal.h \
libvirt-domain-snapshot.c \
locking/lock_manager.c locking/lock_manager.h \
locking/lock_driver.h \
locking/lock_driver_nop.h locking/lock_driver_nop.c \
@ -2186,6 +2187,7 @@ libvirt_setuid_rpc_client_la_SOURCES = \
remote/lxc_protocol.c \
datatypes.c \
libvirt.c \
libvirt-domain-snapshot.c \
libvirt-lxc.c \
$(NULL)

View File

@ -27,6 +27,7 @@
# include "driver.h"
# include "virthread.h"
# include "virobject.h"
# include "viruuid.h"
extern virClassPtr virConnectClass;
extern virClassPtr virDomainClass;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff