提交 6e01ef23 编写于 作者: D Daniel P. Berrange

Move virInterface related APIs out of libvirt.c

Introduce a src/libvirt-interface.c file to hold all the
methods related to the virInterface type.
上级 4e00b6bc
...@@ -25,6 +25,7 @@ included_files = { ...@@ -25,6 +25,7 @@ included_files = {
"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", "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", "libvirt-network.c": "Network 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",
......
...@@ -190,6 +190,7 @@ DRIVER_SOURCES = \ ...@@ -190,6 +190,7 @@ DRIVER_SOURCES = \
$(NODE_INFO_SOURCES) \ $(NODE_INFO_SOURCES) \
libvirt.c libvirt_internal.h \ libvirt.c libvirt_internal.h \
libvirt-domain-snapshot.c \ libvirt-domain-snapshot.c \
libvirt-interface.c \
libvirt-network.c \ libvirt-network.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 \
...@@ -2189,6 +2190,7 @@ libvirt_setuid_rpc_client_la_SOURCES = \ ...@@ -2189,6 +2190,7 @@ libvirt_setuid_rpc_client_la_SOURCES = \
datatypes.c \ datatypes.c \
libvirt.c \ libvirt.c \
libvirt-domain-snapshot.c \ libvirt-domain-snapshot.c \
libvirt-interface.c \
libvirt-network.c \ libvirt-network.c \
libvirt-lxc.c \ libvirt-lxc.c \
$(NULL) $(NULL)
......
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册