[PATCH 1/6] sysinfo: expose new API

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

 



* include/libvirt/libvirt.h.in (virConnectGetSysinfo): Declare.
* src/libvirt_public.syms: Export new symbol.
---

I don't know how the flags argument might be used, if ever, but
better safe than sorry :)

 include/libvirt/libvirt.h.in |    4 +++-
 src/libvirt_public.syms      |    5 +++++
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
index 7ecbeb6..3913a28 100644
--- a/include/libvirt/libvirt.h.in
+++ b/include/libvirt/libvirt.h.in
@@ -4,7 +4,7 @@
  * Description: Provides the interfaces of the libvirt library to handle
  *              virtualized domains
  *
- * Copy:  Copyright (C) 2005,2006,2010 Red Hat, Inc.
+ * Copy:  Copyright (C) 2005-2006 2010-2011 Red Hat, Inc.
  *
  * See COPYING.LIB for the License of this software
  *
@@ -575,6 +575,8 @@ int                     virConnectGetLibVersion (virConnectPtr conn,
                                                  unsigned long *libVer);
 char *                  virConnectGetHostname   (virConnectPtr conn);
 char *                  virConnectGetURI        (virConnectPtr conn);
+char *                  virConnectGetSysinfo    (virConnectPtr conn,
+                                                 unsigned int flags);


 /*
diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms
index 96084ff..1a45be1 100644
--- a/src/libvirt_public.syms
+++ b/src/libvirt_public.syms
@@ -419,4 +419,9 @@ LIBVIRT_0.8.6 {
         virDomainIsUpdated;
 } LIBVIRT_0.8.5;

+LIBVIRT_0.8.8 {
+    global:
+        virConnectGetSysinfo;
+} LIBVIRT_0.8.6;
+
 # .... define new API here using predicted next version number ....
-- 
1.7.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]