pacemaker  3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
Functions
xml_compat.h File Reference

Deprecated Pacemaker XML API. More...

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

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)
 

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.

Function Documentation

◆ calculate_on_disk_digest()

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

Definition at line 341 of file digest.c.

◆ calculate_operation_digest()

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

Definition at line 347 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 357 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 1485 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 1545 of file xml.c.

◆ crm_xml_cleanup()

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

Definition at line 1565 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 1559 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 1583 of file xml.c.

◆ free_xml()

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

Definition at line 1577 of file xml.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 1571 of file xml.c.