10 #ifndef PCMK__CRM_COMMON_XML_COMPAT__H 11 #define PCMK__CRM_COMMON_XML_COMPAT__H 14 #include <libxml/tree.h> 34 static inline const char *
35 crm_element_name(
const xmlNode *xml)
37 return (xml == NULL)? NULL : (
const char *) xml->name;
42 xmlNode *
copy_xml(xmlNode *src_node);
73 gboolean do_filter,
const char *
version);
79 #endif // PCMK__CRM_COMMON_XML_COMPAT__H void pcmk_free_xml_subtree(xmlNode *xml)
void crm_xml_cleanup(void)
char * calculate_xml_versioned_digest(xmlNode *input, gboolean sort, gboolean do_filter, const char *version)
void free_xml(xmlNode *child)
void crm_xml_sanitize_id(char *id)
char * calculate_on_disk_digest(xmlNode *input)
Functionality for manipulating name/value pairs.
Defined string constants for XML element and attribute names.
gboolean cli_config_update(xmlNode **xml, int *best_version, gboolean to_logs)
char * calculate_operation_digest(xmlNode *input, const char *version)
xmlNode * copy_xml(xmlNode *src_node)