1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

network_conf: Turn struct _virNetworkObjList private

Now that all the code uses accessors, don't expose the structure
anyway.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik 2015-02-24 13:48:50 +01:00
parent 88aed14f12
commit 367363659b
2 changed files with 7 additions and 6 deletions

View File

@ -51,6 +51,13 @@
/* currently, /sbin/tc implementation allows up to 16 bits for minor class size */
#define CLASS_ID_BITMAP_SIZE (1<<16)
struct _virNetworkObjList {
virObject parent;
size_t count;
virNetworkObjPtr *objs;
};
VIR_ENUM_IMPL(virNetworkForward,
VIR_NETWORK_FORWARD_LAST,
"none", "nat", "route", "bridge", "private", "vepa", "passthrough", "hostdev")

View File

@ -277,12 +277,6 @@ struct _virNetworkObj {
typedef struct _virNetworkObjList virNetworkObjList;
typedef virNetworkObjList *virNetworkObjListPtr;
struct _virNetworkObjList {
virObject parent;
size_t count;
virNetworkObjPtr *objs;
};
typedef enum {
VIR_NETWORK_TAINT_HOOK, /* Hook script was executed over