From: Peter Krempa Date: Mon, 18 Aug 2014 15:14:54 +0000 (+0200) Subject: driver: Move virDrvNetworkGetDHCPLeases to the appropriate section X-Git-Tag: v1.2.8-rc1~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b748fb604ed4032e317a8ba0e7d50cdd2052f08;p=thirdparty%2Flibvirt.git driver: Move virDrvNetworkGetDHCPLeases to the appropriate section The prototype was along with domain API prototypes instead of network API ones. --- diff --git a/src/driver.h b/src/driver.h index c769675b04..158df79e5c 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;