The returned value is always non-NULL. Callers need to check the length
of the returned array instead.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
* Find and return a sub-elements node of @node named @name in a GPtrArray
* populated with the xmlNodePtr objects. Caller is responsible for freeing the
* array but not the contained xmlNode objects.
+ *
+ * Note: The returned GPtrArray is non-NULL even if @node doesn't contain such sub-elements
*/
GPtrArray *
virXMLNodeGetSubelementList(xmlNodePtr node,