mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-02 11:21:12 +00:00
3fbc761552
Similar to the recent qemu_protocol-structs addition. * src/virnetprotocol-structs: New file. * src/Makefile.am (%_protocol-structs): Factor body... (PDWTAGS): ...into new helper macro. (virnetprotocol-structs): New rule. (PROTOCOL_STRUCTS): Add virnetprotocol-structs.
32 lines
1.0 KiB
C
32 lines
1.0 KiB
C
/* -*- c -*- */
|
|
struct virNetMessageHeader {
|
|
u_int prog;
|
|
u_int vers;
|
|
int proc;
|
|
virNetMessageType type;
|
|
u_int serial;
|
|
virNetMessageStatus status;
|
|
};
|
|
struct virNetMessageNonnullDomain {
|
|
virNetMessageNonnullString name;
|
|
virNetMessageUUID uuid;
|
|
int id;
|
|
};
|
|
struct virNetMessageNonnullNetwork {
|
|
virNetMessageNonnullString name;
|
|
virNetMessageUUID uuid;
|
|
};
|
|
struct virNetMessageError {
|
|
int code;
|
|
int domain;
|
|
virNetMessageString message;
|
|
int level;
|
|
virNetMessageDomain dom;
|
|
virNetMessageString str1;
|
|
virNetMessageString str2;
|
|
virNetMessageString str3;
|
|
int int1;
|
|
int int2;
|
|
virNetMessageNetwork net;
|
|
};
|