mirror of https://gitee.com/openkylin/libvirt.git
conf: add cleanup func for virMacMap
Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Laine Stump <laine@redhat.com>
This commit is contained in:
parent
a9ce03636c
commit
a26df27662
|
@ -21,8 +21,10 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
#include "virobject.h"
|
||||||
|
|
||||||
typedef struct virMacMap virMacMap;
|
typedef struct virMacMap virMacMap;
|
||||||
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virMacMap, virObjectUnref)
|
||||||
|
|
||||||
char *
|
char *
|
||||||
virMacMapFileName(const char *dnsmasqStateDir,
|
virMacMapFileName(const char *dnsmasqStateDir,
|
||||||
|
|
Loading…
Reference in New Issue