pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
xml_compat.h File Reference

Deprecated Pacemaker XML API. More...

#include <glib.h>
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <crm/common/nvpair.h>
#include <crm/common/xml_names.h>
Include dependency graph for xml_compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef const xmlChar * pcmkXmlStr
 

Functions

xmlNode * copy_xml (xmlNode *src_node)
 
gboolean cli_config_update (xmlNode **xml, int *best_version, gboolean to_logs)
 
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)
 
char * calculate_on_disk_digest (xmlNode *input)
 
char * calculate_operation_digest (xmlNode *input, const char *version)
 
char * calculate_xml_versioned_digest (xmlNode *input, gboolean sort, gboolean do_filter, const char *version)
 
xmlXPathObjectPtr xpath_search (const xmlNode *xml_top, const char *path)
 
xmlNode * getXpathResult (xmlXPathObjectPtr xpathObj, int index)
 
void freeXpathObject (xmlXPathObjectPtr xpathObj)
 
void dedupXpathResults (xmlXPathObjectPtr xpathObj)
 
void crm_foreach_xpath_result (xmlNode *xml, const char *xpath, void(*helper)(xmlNode *, void *), void *user_data)
 
xmlNode * get_xpath_object (const char *xpath, xmlNode *xml_obj, int error_level)
 
bool xml_tracking_changes (xmlNode *xml)
 
bool xml_document_dirty (xmlNode *xml)
 
void xml_accept_changes (xmlNode *xml)
 
void xml_track_changes (xmlNode *xml, const char *user, xmlNode *acl_source, bool enforce_acls)
 
void xml_calculate_changes (xmlNode *old_xml, xmlNode *new_xml)
 
void xml_calculate_significant_changes (xmlNode *old_xml, xmlNode *new_xml)
 

Detailed Description

Deprecated Pacemaker XML API.

Deprecated
Do not include this header directly. The XML APIs in this header, and the header itself, will be removed in a future release.

Definition in file xml_compat.h.

Typedef Documentation

◆ pcmkXmlStr

typedef const xmlChar* pcmkXmlStr
Deprecated
Do not use

Definition at line 106 of file xml_compat.h.

Function Documentation

◆ calculate_on_disk_digest()

char * calculate_on_disk_digest ( xmlNode * input)
Deprecated
Do not use

Definition at line 342 of file digest.c.

◆ calculate_operation_digest()

char * calculate_operation_digest ( xmlNode * input,
const char * version )
Deprecated
Do not use

Definition at line 348 of file digest.c.

◆ calculate_xml_versioned_digest()

char * calculate_xml_versioned_digest ( xmlNode * input,
gboolean sort,
gboolean do_filter,
const char * version )
Deprecated
Do not use

Definition at line 358 of file digest.c.

◆ cli_config_update()

gboolean cli_config_update ( xmlNode ** xml,
int * best_version,
gboolean to_logs )
Deprecated
Do not use

Definition at line 1584 of file schemas.c.

◆ copy_xml()

xmlNode * copy_xml ( xmlNode * src_node)
Deprecated
Do not use Pacemaker for general-purpose XML manipulation

Definition at line 1719 of file xml.c.

◆ crm_foreach_xpath_result()

void crm_foreach_xpath_result ( xmlNode * xml,
const char * xpath,
void(* helper )(xmlNode *, void *),
void * user_data )
Deprecated
Do not use

Definition at line 500 of file xpath.c.

◆ crm_xml_cleanup()

void crm_xml_cleanup ( void )
Deprecated
Exit with crm_exit() instead

Definition at line 1739 of file xml.c.

◆ crm_xml_init()

void crm_xml_init ( void )
Deprecated
Call crm_log_init() or crm_log_cli_init() instead

Definition at line 1733 of file xml.c.

◆ crm_xml_sanitize_id()

void crm_xml_sanitize_id ( char * id)
Deprecated
Do not use Pacemaker for general-purpose XML manipulation

Definition at line 1758 of file xml.c.

◆ dedupXpathResults()

void dedupXpathResults ( xmlXPathObjectPtr xpathObj)
Deprecated
Do not use

Definition at line 463 of file xpath.c.

◆ free_xml()

void free_xml ( xmlNode * child)
Deprecated
Do not use Pacemaker for general-purpose XML manipulation

Definition at line 1752 of file xml.c.

◆ freeXpathObject()

void freeXpathObject ( xmlXPathObjectPtr xpathObj)
Deprecated
Do not use

Definition at line 444 of file xpath.c.

◆ get_xpath_object()

xmlNode * get_xpath_object ( const char * xpath,
xmlNode * xml_obj,
int error_level )
Deprecated
Do not use

Definition at line 530 of file xpath.c.

◆ getXpathResult()

xmlNode * getXpathResult ( xmlXPathObjectPtr xpathObj,
int index )
Deprecated
Do not use

Definition at line 401 of file xpath.c.

◆ pcmk_free_xml_subtree()

void pcmk_free_xml_subtree ( xmlNode * xml)
Deprecated
Do not use Pacemaker for general-purpose XML manipulation

Definition at line 1746 of file xml.c.

◆ xml_accept_changes()

void xml_accept_changes ( xmlNode * xml)
Deprecated
Do not use

Definition at line 1786 of file xml.c.

◆ xml_calculate_changes()

void xml_calculate_changes ( xmlNode * old_xml,
xmlNode * new_xml )
Deprecated
Do not use

Definition at line 1816 of file xml.c.

◆ xml_calculate_significant_changes()

void xml_calculate_significant_changes ( xmlNode * old_xml,
xmlNode * new_xml )
Deprecated
Do not use

Definition at line 1833 of file xml.c.

◆ xml_document_dirty()

bool xml_document_dirty ( xmlNode * xml)
Deprecated
Do not use

Definition at line 1779 of file xml.c.

◆ xml_track_changes()

void xml_track_changes ( xmlNode * xml,
const char * user,
xmlNode * acl_source,
bool enforce_acls )
Deprecated
Do not use

Definition at line 1794 of file xml.c.

◆ xml_tracking_changes()

bool xml_tracking_changes ( xmlNode * xml)
Deprecated
Do not use

Definition at line 1772 of file xml.c.

◆ xpath_search()

xmlXPathObjectPtr xpath_search ( const xmlNode * xml_top,
const char * path )
Deprecated
Do not use

Definition at line 393 of file xpath.c.