Searched refs:xml_doc (Results 1 – 1 of 1) sorted by relevance
68 static xmlDocPtr xml_doc = NULL; variable239 if (xml_doc == NULL) { in get_xml_doc()243 xml_doc = xmlReadFile(xml_file, NULL, XML_PARSE_NOBLANKS); in get_xml_doc()246 *docp = xml_doc; in get_xml_doc()248 if (xml_doc == NULL) { in get_xml_doc()268 if (xml_doc) { in close_xml_doc()270 xmlFreeDoc(xml_doc); in close_xml_doc()271 xml_doc = NULL; in close_xml_doc()1411 if (xml_doc) { in xml_update_commit()1413 if (xmlSaveFormatFile(xml_tmp_file, xml_doc, 1) == -1 || in xml_update_commit()[all …]