zig libvirt: added some domain enums/structs

This commit is contained in:
Jeeves 2024-06-25 06:40:07 -06:00
parent 998872a284
commit 59bf98e608

View file

@ -382,6 +382,36 @@ pub const Domain = struct {
Active = c.VIR_CONNECT_LIST_DOMAINS_ACTIVE, Active = c.VIR_CONNECT_LIST_DOMAINS_ACTIVE,
Inactive = c.VIR_CONNECT_LIST_DOMAINS_INACTIVE, 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); pub const DomainIterator = Iterator(Domain, c.virDomainPtr, c.virDomainFree);
}; };