提交 62cf32d0 编写于 作者: D Daniel P. Berrange

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.
上级 0be3403d
......@@ -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",
......
......@@ -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
......
......@@ -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)
......
......@@ -27,6 +27,7 @@
# include "driver.h"
# include "virthread.h"
# include "virobject.h"
# include "viruuid.h"
extern virClassPtr virConnectClass;
extern virClassPtr virDomainClass;
......
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册