[libvirt] [PATCH v2 18/29] conf: Document virDomainStorageSourceParse

Peter Krempa posted 29 patches 6 years, 10 months ago
[libvirt] [PATCH v2 18/29] conf: Document virDomainStorageSourceParse
Posted by Peter Krempa 6 years, 10 months ago
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 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 15bb00e800..8fa06aff03 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,
-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 18/29] conf: Document virDomainStorageSourceParse
Posted by Ján Tomko 6 years, 10 months ago
On Fri, Mar 22, 2019 at 07:00:54PM +0100, Peter Krempa wrote:
>Signed-off-by: Peter Krempa <pkrempa@redhat.com>
>---
> src/conf/domain_conf.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list