mirror of https://gitee.com/openkylin/libvirt.git
bandwidth: Declare internal structures
This commit is contained in:
parent
a8923162c9
commit
7373188219
|
@ -48,6 +48,20 @@ typedef struct {
|
|||
|
||||
typedef virSocketAddr *virSocketAddrPtr;
|
||||
|
||||
typedef struct {
|
||||
unsigned long long average; /* kbytes/s */
|
||||
unsigned long long peak; /* kbytes/s */
|
||||
unsigned long long burst; /* kbytes */
|
||||
} virRate;
|
||||
|
||||
typedef virRate *virRatePtr;
|
||||
|
||||
typedef struct {
|
||||
virRatePtr in, out;
|
||||
} virBandwidth;
|
||||
|
||||
typedef virBandwidth *virBandwidthPtr;
|
||||
|
||||
int virSocketParseAddr (const char *val,
|
||||
virSocketAddrPtr addr,
|
||||
int hint);
|
||||
|
|
Loading…
Reference in New Issue