From: Peter Krempa Date: Wed, 20 Mar 2019 15:58:20 +0000 (+0100) Subject: conf: Document virDomainStorageSourceParse X-Git-Tag: v5.3.0-rc1~317 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5889819133fc37060335a69e983f9426da2d660;p=thirdparty%2Flibvirt.git conf: Document virDomainStorageSourceParse Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- 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,