提交 73731882 编写于 作者: M Michal Privoznik 提交者: Daniel Veillard

bandwidth: Declare internal structures

上级 a8923162
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册