dump_xml_unformatted(xmlNodePtr an_xml_node) { int len = 0; xmlBufferPtr xml_buffer; xmlChar *buffer = NULL; 
dump_xml_unformatted(crm_data_t *an_xml_node) { char *buffer     = NULL; #ifdef USE_LIBXML int       lpc	     = 0; int       len        = 0; xmlChar  *xml_buffer = NULL; xmlDocPtr foo        = NULL; 
dump_xml_unformatted(xmlNodePtr an_xml_node) {	int len = 0;	xmlBufferPtr xml_buffer;	xmlChar *buffer = NULL;	if (an_xml_node == NULL) {		return NULL;	}	crm_insane("Initializing Parser");	xmlInitParser();	crm_insane("Dumping data");		xml_buffer = xmlBufferCreate();	len = xmlNodeDump(xml_buffer, an_xml_node->doc, an_xml_node, 0, 0);		if(len < 0) {		crm_err("Error dumping xml");		xmlBufferFree(xml_buffer);		return NULL;	}		buffer = (xmlChar*)crm_strdup(xmlBufferContent(xml_buffer)); 	xmlBufferFree(xml_buffer);	if (!buffer) {		crm_err("memory allocation failed");	}	crm_insane("Cleaning up parser");	xmlCleanupParser();	return buffer;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/c7c5fc7c53a15eefc2aea4bf8ccaf2175307f9f5/xml.c/buggy/crm/common/xml.c