pacemaker  2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
Macros | Functions
xml_compat.h File Reference

Deprecated Pacemaker XML API. More...

#include <glib.h>
#include <libxml/tree.h>
#include <crm/common/xml.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.

Macros

#define XML_PARANOIA_CHECKS   0
 

Functions

xmlNode * find_entity (xmlNode *parent, const char *node_name, const char *id)
 
char * xml_get_path (const xmlNode *xml)
 Get an XPath string that matches an XML element as closely as possible. More...
 
gboolean apply_xml_diff (xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml)
 
void crm_destroy_xml (gpointer data)
 

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.

Macro Definition Documentation

◆ XML_PARANOIA_CHECKS

#define XML_PARANOIA_CHECKS   0
Deprecated:
Do not use (will be removed in a future release)

Definition at line 31 of file xml_compat.h.

Function Documentation

◆ apply_xml_diff()

gboolean apply_xml_diff ( xmlNode *  old_xml,
xmlNode *  diff,
xmlNode **  new_xml 
)
Deprecated:
Use xml_apply_patchset() instead

Definition at line 1643 of file patchset.c.

◆ crm_destroy_xml()

void crm_destroy_xml ( gpointer  data)
Deprecated:
Do not use (will be removed in a future release)

Definition at line 3147 of file xml.c.

◆ find_entity()

xmlNode* find_entity ( xmlNode *  parent,
const char *  node_name,
const char *  id 
)
Deprecated:
This function will be removed in a future release

Definition at line 3140 of file xml.c.

◆ xml_get_path()

char* xml_get_path ( const xmlNode *  xml)

Get an XPath string that matches an XML element as closely as possible.

Deprecated:
This function will be removed in a future release
Deprecated:
This function will be removed in a future release
Parameters
[in]xmlThe XML element for which to build an XPath string
Returns
A string that matches xml, or NULL if xml is NULL.
Note
The caller is responsible for freeing the string using free().

Definition at line 361 of file xpath.c.