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

[libvirt] [PATCH] driver: Move virDrvNetworkGetDHCPLeases to the appropriate section



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


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