[RFC] libvirt-admin: Mark symbols as local

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

 



Otherwise we're leaking some 30+ symbols like

   virAdmConnectClass
   virAdmConnectNew
   virConnectClass
   virConnectCloseCallbackDataClass
   virDomainClass
   ...

I marked the one symbol needed by the deamon as
LIBVIRT_ADMIN_PRIVATE_<VERSION> for now.
---

There's likely a better solution for xdr_admin_connect_open_args.
Cheers,
 -- Guido

 src/libvirt_admin.syms | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/libvirt_admin.syms b/src/libvirt_admin.syms
index d9e3c0b..de4f1b8 100644
--- a/src/libvirt_admin.syms
+++ b/src/libvirt_admin.syms
@@ -16,3 +16,12 @@ LIBVIRT_ADMIN_1.3.0 {
         virAdmConnectClose;
         virAdmConnectRef;
 };
+
+
+LIBVIRT_ADMIN_PRIVATE_1.2.19 {
+    global:
+        xdr_admin_connect_open_args;
+
+    local:
+        *;
+};
-- 
2.1.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]