[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Some NWFilter symbols are conditional and have to be exported conditional



---
 src/Makefile.am           |    7 ++++++-
 src/libvirt_nwfilter.syms |   14 ++++++++++++++
 src/libvirt_private.syms  |   13 +------------
 3 files changed, 21 insertions(+), 13 deletions(-)
 create mode 100644 src/libvirt_nwfilter.syms

diff --git a/src/Makefile.am b/src/Makefile.am
index 66dc349..17b2226 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -884,6 +884,10 @@ if WITH_LIBVIRTD
 USED_SYM_FILES += libvirt_daemon.syms
 endif
 
+if WITH_NWFILTER
+USED_SYM_FILES += libvirt_nwfilter.syms
+endif
+
 EXTRA_DIST += \
   libvirt_public.syms		\
   libvirt_private.syms		\
@@ -891,7 +895,8 @@ EXTRA_DIST += \
   libvirt_bridge.syms		\
   libvirt_linux.syms		\
   libvirt_macvtap.syms		\
-  libvirt_daemon.syms
+  libvirt_daemon.syms		\
+  libvirt_nwfilter.syms
 
 BUILT_SOURCES += libvirt.syms libvirt.def
 
diff --git a/src/libvirt_nwfilter.syms b/src/libvirt_nwfilter.syms
new file mode 100644
index 0000000..106415f
--- /dev/null
+++ b/src/libvirt_nwfilter.syms
@@ -0,0 +1,14 @@
+#
+# These symbols are dependent on WITH_NWFILTER.
+#
+
+
+# nwfilter_gentech_driver.h
+virNWFilterInstantiateFilter;
+virNWFilterTeardownFilter;
+
+
+# nwfilter_learnipaddr.h
+virNWFilterGetIpAddrForIfname;
+virNWFilterDelIpAddrForIfname;
+virNWFilterLookupLearnReq;
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 7950bcd..f8e9d01 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -502,7 +502,7 @@ virNWFilterLockFilterUpdates;
 virNWFilterUnlockFilterUpdates;
 
 
-#nwfilter_params.h
+# nwfilter_params.h
 virNWFilterHashTableCreate;
 virNWFilterHashTableFree;
 virNWFilterHashTablePut;
@@ -510,17 +510,6 @@ virNWFilterHashTablePutAll;
 virNWFilterHashTableRemoveEntry;
 
 
-# nwfilter_gentech_driver.h
-virNWFilterInstantiateFilter;
-virNWFilterTeardownFilter;
-
-
-# nwfilter_learnipaddr.h
-virNWFilterGetIpAddrForIfname;
-virNWFilterDelIpAddrForIfname;
-virNWFilterLookupLearnReq;
-
-
 # pci.h
 pciGetDevice;
 pciFreeDevice;
-- 
1.6.3.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]