• E
    xml: add another convenience function · 751304e3
    Eric Blake 提交于
    Often, we want to use XPath functions on the just-parsed document;
    fold this into the parser function for convenience.
    
    * src/util/xml.h (virXMLParseHelper): Add argument.
    (virXMLParseStrHelper, virXMLParseFileHelper): Delete.
    (virXMLParseCtxt, virXMLParseStringCtxt, virXMLParseFileCtxt): New
    macros.
    * src/libvirt_private.syms (xml.h): Remove deleted functions.
    * src/util/xml.c (virXMLParseHelper): Add argument.
    (virXMLParseStrHelper, virXMLParseFileHelper): Delete.
    751304e3
libvirt_private.syms 25.1 KB