mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
driver: Move virDrvNetworkGetDHCPLeases to the appropriate section
The prototype was along with domain API prototypes instead of network API ones.
This commit is contained in:
parent
338ae9e2d4
commit
2b748fb604
11
src/driver.h
11
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;
|
||||
|
Loading…
Reference in New Issue
Block a user