mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-11 04:15:49 +00:00
util: vircgroup: introduce g_autoptr() for virCgroup
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
5ad8272888
commit
ca335643d6
@ -109,6 +109,8 @@ bool virCgroupNewIgnoreError(void);
|
||||
|
||||
void virCgroupFree(virCgroupPtr group);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virCgroup, virCgroupFree);
|
||||
|
||||
bool virCgroupHasController(virCgroupPtr cgroup, int controller);
|
||||
int virCgroupPathOfController(virCgroupPtr group,
|
||||
unsigned int controller,
|
||||
|
Loading…
Reference in New Issue
Block a user