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:
parent
0be3403db6
commit
62cf32d0c9
@ -24,6 +24,7 @@ included_files = {
|
|||||||
"libvirt.h": "header with general libvirt API definitions",
|
"libvirt.h": "header with general libvirt API definitions",
|
||||||
"virterror.h": "header with error specific API definitions",
|
"virterror.h": "header with error specific API definitions",
|
||||||
"libvirt.c": "Main interfaces for the libvirt library",
|
"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",
|
"virerror.c": "implements error handling and reporting code for libvirt",
|
||||||
"virevent.c": "event loop for monitoring file handles",
|
"virevent.c": "event loop for monitoring file handles",
|
||||||
"virtypedparam.c": "virTypedParameters APIs",
|
"virtypedparam.c": "virTypedParameters APIs",
|
||||||
|
@ -57,6 +57,7 @@ src/interface/interface_backend_netcf.c
|
|||||||
src/interface/interface_backend_udev.c
|
src/interface/interface_backend_udev.c
|
||||||
src/internal.h
|
src/internal.h
|
||||||
src/libvirt.c
|
src/libvirt.c
|
||||||
|
src/libvirt-domain-snapshot.c
|
||||||
src/libvirt-lxc.c
|
src/libvirt-lxc.c
|
||||||
src/libvirt-qemu.c
|
src/libvirt-qemu.c
|
||||||
src/locking/lock_daemon.c
|
src/locking/lock_daemon.c
|
||||||
|
@ -189,6 +189,7 @@ DRIVER_SOURCES = \
|
|||||||
fdstream.c fdstream.h \
|
fdstream.c fdstream.h \
|
||||||
$(NODE_INFO_SOURCES) \
|
$(NODE_INFO_SOURCES) \
|
||||||
libvirt.c libvirt_internal.h \
|
libvirt.c libvirt_internal.h \
|
||||||
|
libvirt-domain-snapshot.c \
|
||||||
locking/lock_manager.c locking/lock_manager.h \
|
locking/lock_manager.c locking/lock_manager.h \
|
||||||
locking/lock_driver.h \
|
locking/lock_driver.h \
|
||||||
locking/lock_driver_nop.h locking/lock_driver_nop.c \
|
locking/lock_driver_nop.h locking/lock_driver_nop.c \
|
||||||
@ -2186,6 +2187,7 @@ libvirt_setuid_rpc_client_la_SOURCES = \
|
|||||||
remote/lxc_protocol.c \
|
remote/lxc_protocol.c \
|
||||||
datatypes.c \
|
datatypes.c \
|
||||||
libvirt.c \
|
libvirt.c \
|
||||||
|
libvirt-domain-snapshot.c \
|
||||||
libvirt-lxc.c \
|
libvirt-lxc.c \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
# include "driver.h"
|
# include "driver.h"
|
||||||
# include "virthread.h"
|
# include "virthread.h"
|
||||||
# include "virobject.h"
|
# include "virobject.h"
|
||||||
|
# include "viruuid.h"
|
||||||
|
|
||||||
extern virClassPtr virConnectClass;
|
extern virClassPtr virConnectClass;
|
||||||
extern virClassPtr virDomainClass;
|
extern virClassPtr virDomainClass;
|
||||||
|
1222
src/libvirt-domain-snapshot.c
Normal file
1222
src/libvirt-domain-snapshot.c
Normal file
File diff suppressed because it is too large
Load Diff
1194
src/libvirt.c
1194
src/libvirt.c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user