pacemaker
3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <glib.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xmlstring.h>
#include <crm/crm.h>
#include <crm/common/xml.h>
#include <crm/common/xml_internal.h>
#include "crmcommon_private.h"
#include <crm/common/xml_compat.h>
Go to the source code of this file.
Macros | |
#define | XML_VERSION ((pcmkXmlStr) "1.0") |
libxml2 supports only XML version 1.0, at least as of libxml2-2.12.5 More... | |
Functions | |
bool | pcmk__xml_tree_foreach (xmlNode *xml, bool(*fn)(xmlNode *, void *), void *user_data) |
bool | pcmk__tracking_xml_changes (xmlNode *xml, bool lazy) |
void | pcmk__xml_set_parent_flags (xmlNode *xml, uint64_t flags) |
void | pcmk__set_xml_doc_flag (xmlNode *xml, enum xml_private_flags flag) |
void | pcmk__mark_xml_node_dirty (xmlNode *xml) |
bool | pcmk__xml_reset_node_flags (xmlNode *xml, void *user_data) |
void | pcmk__xml_new_private_data (xmlNode *xml) |
void | pcmk__xml_free_private_data (xmlNode *xml) |
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 (const xmlNode *xml, enum xml_private_flags ignore_if_set) |
xmlNode * | pcmk__xml_match (const xmlNode *haystack, const xmlNode *needle, bool exact) |
void | xml_accept_changes (xmlNode *xml) |
xmlDoc * | pcmk__xml_new_doc (void) |
void | pcmk__xml_free_doc (xmlDoc *doc) |
bool | pcmk__xml_is_name_start_char (const char *utf8, int *len) |
bool | pcmk__xml_is_name_char (const char *utf8, int *len) |
void | pcmk__xml_sanitize_id (char *id) |
void | pcmk__xml_free_node (xmlNode *xml) |
void | pcmk__xml_free (xmlNode *xml) |
xmlNode * | pcmk__xml_copy (xmlNode *parent, xmlNode *src) |
void | pcmk__strip_xml_text (xmlNode *xml) |
bool | pcmk__xml_needs_escape (const char *text, enum pcmk__xml_escape_type type) |
gchar * | pcmk__xml_escape (const char *text, enum pcmk__xml_escape_type type) |
void | xml_calculate_significant_changes (xmlNode *old_xml, xmlNode *new_xml) |
void | xml_calculate_changes (xmlNode *old_xml, xmlNode *new_xml) |
void | pcmk__xml_init (void) |
void | pcmk__xml_cleanup (void) |
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) |
xmlNode * | copy_xml (xmlNode *src) |
void | crm_xml_init (void) |
void | crm_xml_cleanup (void) |
void | pcmk_free_xml_subtree (xmlNode *xml) |
void | free_xml (xmlNode *child) |
void | crm_xml_sanitize_id (char *id) |
#define XML_VERSION ((pcmkXmlStr) "1.0") |
xmlNode* copy_xml | ( | xmlNode * | src_node | ) |
void crm_xml_cleanup | ( | void | ) |
crm_exit()
instead void crm_xml_init | ( | void | ) |
crm_log_init()
or crm_log_cli_init()
instead void crm_xml_sanitize_id | ( | char * | id | ) |
void free_xml | ( | xmlNode * | child | ) |
void pcmk__set_xml_doc_flag | ( | xmlNode * | xml, |
enum xml_private_flags | flag | ||
) |
char* pcmk__xml_artefact_path | ( | enum pcmk__xml_artefact_ns | ns, |
const char * | filespec | ||
) |
char* pcmk__xml_artefact_root | ( | enum pcmk__xml_artefact_ns | ns | ) |
gchar* pcmk__xml_escape | ( | const char * | text, |
enum pcmk__xml_escape_type | type | ||
) |
bool pcmk__xml_is_name_start_char | ( | const char * | utf8, |
int * | len | ||
) |
xmlNode* pcmk__xml_match | ( | const xmlNode * | haystack, |
const xmlNode * | needle, | ||
bool | exact | ||
) |
bool pcmk__xml_needs_escape | ( | const char * | text, |
enum pcmk__xml_escape_type | type | ||
) |
int pcmk__xml_position | ( | const xmlNode * | xml, |
enum xml_private_flags | ignore_if_set | ||
) |
bool pcmk__xml_reset_node_flags | ( | xmlNode * | xml, |
void * | user_data | ||
) |
void pcmk__xml_set_parent_flags | ( | xmlNode * | xml, |
uint64_t | flags | ||
) |
bool pcmk__xml_tree_foreach | ( | xmlNode * | xml, |
bool(*)(xmlNode *, void *) | fn, | ||
void * | user_data | ||
) |
void pcmk_free_xml_subtree | ( | xmlNode * | xml | ) |
void xml_calculate_changes | ( | xmlNode * | old_xml, |
xmlNode * | new_xml | ||
) |
void xml_calculate_significant_changes | ( | xmlNode * | old_xml, |
xmlNode * | new_xml | ||
) |
void xml_track_changes | ( | xmlNode * | xml, |
const char * | user, | ||
xmlNode * | acl_source, | ||
bool | enforce_acls | ||
) |