mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
logging: define cleanup func for virLogManager
Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
3ba4d96736
commit
131361f6bc
@ -27,6 +27,8 @@ typedef struct _virLogManager virLogManager;
|
||||
virLogManager *virLogManagerNew(bool privileged);
|
||||
|
||||
void virLogManagerFree(virLogManager *mgr);
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virLogManager, virLogManagerFree);
|
||||
|
||||
|
||||
int virLogManagerDomainOpenLogFile(virLogManager *mgr,
|
||||
const char *driver,
|
||||
|
Loading…
Reference in New Issue
Block a user