zig libvirt: added some domain enums/structs
This commit is contained in:
parent
998872a284
commit
59bf98e608
1 changed files with 30 additions and 0 deletions
|
@ -382,6 +382,36 @@ pub const Domain = struct {
|
|||
Active = c.VIR_CONNECT_LIST_DOMAINS_ACTIVE,
|
||||
Inactive = c.VIR_CONNECT_LIST_DOMAINS_INACTIVE,
|
||||
};
|
||||
pub const AbortJobFlagsValues = enum(c_uint) {};
|
||||
pub const AgentResponseTimeoutValues = enum(c_uint) {};
|
||||
pub const AuthorizedSSHKeysSetFlags = enum(c_uint) {};
|
||||
pub const BackupBeginFlags = enum(c_uint) {};
|
||||
pub const BlockCommitFlags = enum(c_uint) {};
|
||||
pub const BlockCopyFlags = enum(c_uint) {};
|
||||
pub const BlockJobAbortFlags = enum(c_uint) {};
|
||||
pub const BlockJobInfoFlags = enum(c_uint) {};
|
||||
pub const BlockJobSetSpeedFlags = enum(c_uint) {};
|
||||
pub const BlockPullFlags = enum(c_uint) {};
|
||||
pub const BlockRebaseFlags = enum(c_uint) {};
|
||||
pub const BlockResizeFlags = enum(c_uint) {};
|
||||
pub const ChannelFlags = enum(c_uint) {};
|
||||
pub const ConsoleFlags = enum(c_uint) {};
|
||||
pub const CoreDumpFlags = enum(c_uint) {};
|
||||
// TODO rest
|
||||
|
||||
pub const BlockInfo = struct {};
|
||||
pub const BlockJobCursor = u64;
|
||||
pub const BlockJobInfo = struct {};
|
||||
pub const BlockStats = struct {};
|
||||
pub const ControlInfo = struct {};
|
||||
// TODO rest
|
||||
|
||||
pub const BlockJobType = enum(c_uint) {};
|
||||
pub const BlockedReason = enum(c_uint) {};
|
||||
pub const ControlErrorReason = enum(c_uint) {};
|
||||
pub const ControlState = enum(c_uint) {};
|
||||
pub const CoreDumpFormat = enum(c_uint) {};
|
||||
// TODO rest
|
||||
|
||||
pub const DomainIterator = Iterator(Domain, c.virDomainPtr, c.virDomainFree);
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue