From d5889819133fc37060335a69e983f9426da2d660 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 20 Mar 2019 16:58:20 +0100 Subject: [PATCH] conf: Document virDomainStorageSourceParse MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- src/conf/domain_conf.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 81aab3a0d1..bc7843e570 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -9078,6 +9078,18 @@ virDomainStorageSourceParseBase(const char *type, } +/** + * virDomainStorageSourceParse: + * @node: XML node pointing to the source element to parse + * @ctxt: XPath context + * @src: filled with parsed data + * @flags: XML parser flags + * @xmlopt: XML parser callbacks + * + * Parses @src definition from element pointed to by @node. Note that this + * does not parse the 'type' and 'format' attributes of @src and 'type' needs + * to be set correctly prior to calling this function. + */ int virDomainStorageSourceParse(xmlNodePtr node, xmlXPathContextPtr ctxt,