[PATCH] driver: Move virDrvNetworkGetDHCPLeases to the appropriate section

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

 



The prototype was along with domain API prototypes instead of network
API ones.
---

Notes:
    Pushed as trivial.

 src/driver.h | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/driver.h b/src/driver.h
index c769675..158df79 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -1190,11 +1190,6 @@ typedef int
                           unsigned long long *counts,
                           unsigned int flags);

-typedef int
-(*virDrvNetworkGetDHCPLeases)(virNetworkPtr network,
-                              const char *mac,
-                              virNetworkDHCPLeasePtr **leases,
-                              unsigned int flags);

 typedef struct _virDriver virDriver;
 typedef virDriver *virDriverPtr;
@@ -1509,7 +1504,11 @@ typedef int
 typedef int
 (*virDrvNetworkIsPersistent)(virNetworkPtr net);

-
+typedef int
+(*virDrvNetworkGetDHCPLeases)(virNetworkPtr network,
+                              const char *mac,
+                              virNetworkDHCPLeasePtr **leases,
+                              unsigned int flags);

 typedef struct _virNetworkDriver virNetworkDriver;
 typedef virNetworkDriver *virNetworkDriverPtr;
-- 
2.0.2

--
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]