|
| bool | pcmk__tracking_xml_changes (xmlNode *xml, bool lazy) |
| |
| void | pcmk__set_xml_doc_flag (xmlNode *xml, enum xml_private_flags flag) |
| |
| void | pcmk__mark_xml_created (xmlNode *xml) |
| |
| void | pcmk__mark_xml_attr_dirty (xmlAttr *a) |
| |
| void | xml_track_changes (xmlNode *xml, const char *user, xmlNode *acl_source, bool enforce_acls) |
| |
| bool | xml_tracking_changes (xmlNode *xml) |
| |
| bool | xml_document_dirty (xmlNode *xml) |
| |
| int | pcmk__xml_position (xmlNode *xml, enum xml_private_flags ignore_if_set) |
| |
| xmlNode * | pcmk__xml_match (xmlNode *haystack, xmlNode *needle, bool exact) |
| |
| void | xml_log_changes (uint8_t log_level, const char *function, xmlNode *xml) |
| |
| void | xml_accept_changes (xmlNode *xml) |
| |
| xmlNode * | find_xml_node (xmlNode *root, const char *search_path, gboolean must_find) |
| |
| xmlNode * | pcmk__xe_match (xmlNode *parent, const char *node_name, const char *attr_n, const char *attr_v) |
| |
| void | copy_in_properties (xmlNode *target, xmlNode *src) |
| |
| void | fix_plus_plus_recursive (xmlNode *target) |
| |
| void | expand_plus_plus (xmlNode *target, const char *name, const char *value) |
| |
| void | pcmk__xe_remove_matching_attrs (xmlNode *element, bool(*match)(xmlAttrPtr, void *), void *user_data) |
| |
| xmlDoc * | getDocPtr (xmlNode *node) |
| |
| xmlNode * | add_node_copy (xmlNode *parent, xmlNode *src_node) |
| |
| int | add_node_nocopy (xmlNode *parent, const char *name, xmlNode *child) |
| |
| xmlNode * | create_xml_node (xmlNode *parent, const char *name) |
| |
| xmlNode * | pcmk_create_xml_text_node (xmlNode *parent, const char *name, const char *content) |
| |
| xmlNode * | pcmk_create_html_node (xmlNode *parent, const char *element_name, const char *id, const char *class_name, const char *text) |
| |
| void | pcmk_free_xml_subtree (xmlNode *xml) |
| |
| void | free_xml (xmlNode *child) |
| |
| xmlNode * | copy_xml (xmlNode *src) |
| |
| xmlNode * | string2xml (const char *input) |
| |
| xmlNode * | stdin2xml (void) |
| |
| void | pcmk__strip_xml_text (xmlNode *xml) |
| |
| xmlNode * | filename2xml (const char *filename) |
| |
| const char * | pcmk__xe_add_last_written (xmlNode *xe) |
| |
| void | crm_xml_sanitize_id (char *id) |
| | Sanitize a string so it is usable as an XML ID. More...
|
| |
| void | crm_xml_set_id (xmlNode *xml, const char *format,...) |
| | Set the ID of an XML element using a format. More...
|
| |
| int | write_xml_fd (xmlNode *xml_node, const char *filename, int fd, gboolean compress) |
| | Write XML to a file descriptor. More...
|
| |
| int | write_xml_file (xmlNode *xml_node, const char *filename, gboolean compress) |
| | Write XML to a file. More...
|
| |
| char * | crm_xml_escape (const char *text) |
| | Replace special characters with their XML escape sequences. More...
|
| |
| void | pcmk__xe_log (int log_level, const char *file, const char *function, int line, const char *prefix, xmlNode *data, int depth, int options) |
| |
| void | log_data_element (int log_level, const char *file, const char *function, int line, const char *prefix, xmlNode *data, int depth, int options) |
| |
| void | pcmk__xml2text (xmlNode *data, int options, char **buffer, int *offset, int *max, int depth) |
| |
| void | pcmk__buffer_add_char (char **buffer, int *offset, int *max, char c) |
| |
| char * | dump_xml_formatted_with_text (xmlNode *an_xml_node) |
| |
| char * | dump_xml_formatted (xmlNode *an_xml_node) |
| |
| char * | dump_xml_unformatted (xmlNode *an_xml_node) |
| |
| gboolean | xml_has_children (const xmlNode *xml_root) |
| |
| void | xml_remove_prop (xmlNode *obj, const char *name) |
| |
| void | save_xml_to_file (xmlNode *xml, const char *desc, const char *filename) |
| |
| void | xml_calculate_significant_changes (xmlNode *old_xml, xmlNode *new_xml) |
| |
| void | xml_calculate_changes (xmlNode *old_xml, xmlNode *new_xml) |
| |
| gboolean | can_prune_leaf (xmlNode *xml_node) |
| |
| xmlNode * | pcmk__xc_match (xmlNode *root, xmlNode *search_comment, bool exact) |
| |
| void | pcmk__xc_update (xmlNode *parent, xmlNode *target, xmlNode *update) |
| |
| void | pcmk__xml_update (xmlNode *parent, xmlNode *target, xmlNode *update, bool as_diff) |
| |
| gboolean | update_xml_child (xmlNode *child, xmlNode *to_update) |
| |
| int | find_xml_children (xmlNode **children, xmlNode *root, const char *tag, const char *field, const char *value, gboolean search_matches) |
| |
| gboolean | replace_xml_child (xmlNode *parent, xmlNode *child, xmlNode *update, gboolean delete_only) |
| |
| xmlNode * | sorted_xml (xmlNode *input, xmlNode *parent, gboolean recursive) |
| |
| xmlNode * | first_named_child (const xmlNode *parent, const char *name) |
| |
| xmlNode * | crm_next_same_xml (const xmlNode *sibling) |
| | Get next instance of same XML tag. More...
|
| |
| void | crm_xml_init (void) |
| | Initialize the CRM XML subsystem. More...
|
| |
| void | crm_xml_cleanup (void) |
| |
| xmlNode * | expand_idref (xmlNode *input, xmlNode *top) |
| |
| void | crm_destroy_xml (gpointer data) |
| | xmlNode destructor which can be used in glib collections More...
|
| |
| char * | pcmk__xml_artefact_root (enum pcmk__xml_artefact_ns ns) |
| |
| char * | pcmk__xml_artefact_path (enum pcmk__xml_artefact_ns ns, const char *filespec) |
| |
| void | pcmk__xe_set_propv (xmlNodePtr node, va_list pairs) |
| |
| void | pcmk__xe_set_props (xmlNodePtr node,...) |
| |
| xmlNode * | find_entity (xmlNode *parent, const char *node_name, const char *id) |
| |