summaryrefslogtreecommitdiff
path: root/src/util/virsecret.h
diff options
context:
space:
mode:
authorJohn Ferlan <jferlan@redhat.com>2016-06-13 19:40:34 -0400
committerJohn Ferlan <jferlan@redhat.com>2016-06-23 12:30:28 -0400
commit42510c5199c5a3ce8c4464b8c74b3e6eaba3791b (patch)
treecc61958ff2dcfa9411122da742652c2a4c22a455 /src/util/virsecret.h
parentecd45ced0ea2987ee6972cbb44f3efe887372f5a (diff)
downloadlibvirt-42510c5199c5a3ce8c4464b8c74b3e6eaba3791b.tar.gz
util: Introduce virSecretLookupFormatSecret
Add utility to format the virSecretLookupTypeDefPtr in XML Signed-off-by: John Ferlan <jferlan@redhat.com>
Diffstat (limited to 'src/util/virsecret.h')
-rw-r--r--src/util/virsecret.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/virsecret.h b/src/util/virsecret.h
index eee863f922..4506fb36eb 100644
--- a/src/util/virsecret.h
+++ b/src/util/virsecret.h
@@ -50,4 +50,7 @@ int virSecretLookupDefCopy(virSecretLookupTypeDefPtr dst,
const virSecretLookupTypeDef *src);
int virSecretLookupParseSecret(xmlNodePtr secretnode,
virSecretLookupTypeDefPtr def);
+void virSecretLookupFormatSecret(virBufferPtr buf,
+ const char *secrettype,
+ virSecretLookupTypeDefPtr def);
#endif /* __VIR_SECRET_H__ */