mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 22:39:56 +00:00
07613d2020
by running this command: git ls-files -z | xargs -0 perl -pi -0777 -e 's/\n\n+$/\n/' This is in preparation for a more strict make syntax-check rule that will detect trailing blank lines.
45 lines
1.5 KiB
Diff
45 lines
1.5 KiB
Diff
From 2ae8fd62a1e5e085b7902da9bc207b806d84fd91 Mon Sep 17 00:00:00 2001
|
|
From: David Allan <dallan@redhat.com>
|
|
Date: Tue, 19 May 2009 16:16:11 -0400
|
|
Subject: [PATCH] Step 1 of 8 Define the public API
|
|
|
|
---
|
|
include/libvirt/libvirt.h.in | 6 ++++++
|
|
src/libvirt_public.syms | 6 ++++++
|
|
2 files changed, 12 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
|
|
index a028b21..2f7076f 100644
|
|
--- a/include/libvirt/libvirt.h.in
|
|
+++ b/include/libvirt/libvirt.h.in
|
|
@@ -1124,6 +1124,12 @@ int virNodeDeviceDettach (virNodeDevicePtr dev);
|
|
int virNodeDeviceReAttach (virNodeDevicePtr dev);
|
|
int virNodeDeviceReset (virNodeDevicePtr dev);
|
|
|
|
+virNodeDevicePtr virNodeDeviceCreateXML (virConnectPtr conn,
|
|
+ const char *xmlDesc,
|
|
+ unsigned int flags);
|
|
+
|
|
+int virNodeDeviceDestroy (virNodeDevicePtr dev);
|
|
+
|
|
/*
|
|
* Domain Event Notification
|
|
*/
|
|
diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms
|
|
index f7ebbc3..b8f9128 100644
|
|
--- a/src/libvirt_public.syms
|
|
+++ b/src/libvirt_public.syms
|
|
@@ -258,4 +258,10 @@ LIBVIRT_0.6.1 {
|
|
virNodeGetSecurityModel;
|
|
} LIBVIRT_0.6.0;
|
|
|
|
+LIBVIRT_0.6.3 {
|
|
+ global:
|
|
+ virNodeDeviceCreateXML;
|
|
+ virNodeDeviceDestroy;
|
|
+} LIBVIRT_0.6.1;
|
|
+
|
|
# .... define new API here using predicted next version number ....
|
|
--
|
|
1.6.0.6
|