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:
parent
88aed14f12
commit
367363659b
@ -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")
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user