conf: secret: Register VIR_AUTOPTR function for virSecretDef

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Peter Krempa 2019-09-16 13:23:51 +02:00
parent db2c3c80c2
commit 8d301bd435

View File

@ -35,6 +35,8 @@ struct _virSecretDef {
};
void virSecretDefFree(virSecretDefPtr def);
VIR_DEFINE_AUTOPTR_FUNC(virSecretDef, virSecretDefFree);
virSecretDefPtr virSecretDefParseString(const char *xml);
virSecretDefPtr virSecretDefParseFile(const char *filename);
char *virSecretDefFormat(const virSecretDef *def);