#include <crm_internal.h>
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <time.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <bzlib.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xmlIO.h>
#include <crm/crm.h>
#include <crm/msg_xml.h>
#include <crm/common/iso8601_internal.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.
|
xmlNode * | xml_create_patchset (int format, xmlNode *source, xmlNode *target, bool *config_changed, bool manage_version) |
|
void | patchset_process_digest (xmlNode *patch, xmlNode *source, xmlNode *target, bool with_digest) |
|
void | xml_log_patchset (uint8_t log_level, const char *function, xmlNode *patchset) |
|
bool | xml_patch_versions (xmlNode *patchset, int add[3], int del[3]) |
|
int | xml_apply_patchset (xmlNode *xml, xmlNode *patchset, bool check_version) |
|
void | purge_diff_markers (xmlNode *a_node) |
|
xmlNode * | diff_xml_object (xmlNode *old, xmlNode *new, gboolean suppress) |
|
xmlNode * | subtract_xml_object (xmlNode *parent, xmlNode *left, xmlNode *right, gboolean full, gboolean *changed, const char *marker) |
|
gboolean | apply_xml_diff (xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml) |
|
gboolean apply_xml_diff |
( |
xmlNode * |
old_xml, |
|
|
xmlNode * |
diff, |
|
|
xmlNode ** |
new_xml |
|
) |
| |
xmlNode* diff_xml_object |
( |
xmlNode * |
old, |
|
|
xmlNode * |
new, |
|
|
gboolean |
suppress |
|
) |
| |
void patchset_process_digest |
( |
xmlNode * |
patch, |
|
|
xmlNode * |
source, |
|
|
xmlNode * |
target, |
|
|
bool |
with_digest |
|
) |
| |
void purge_diff_markers |
( |
xmlNode * |
a_node | ) |
|
xmlNode* subtract_xml_object |
( |
xmlNode * |
parent, |
|
|
xmlNode * |
left, |
|
|
xmlNode * |
right, |
|
|
gboolean |
full, |
|
|
gboolean * |
changed, |
|
|
const char * |
marker |
|
) |
| |
int xml_apply_patchset |
( |
xmlNode * |
xml, |
|
|
xmlNode * |
patchset, |
|
|
bool |
check_version |
|
) |
| |
xmlNode* xml_create_patchset |
( |
int |
format, |
|
|
xmlNode * |
source, |
|
|
xmlNode * |
target, |
|
|
bool * |
config_changed, |
|
|
bool |
manage_version |
|
) |
| |
void xml_log_patchset |
( |
uint8_t |
log_level, |
|
|
const char * |
function, |
|
|
xmlNode * |
patchset |
|
) |
| |
bool xml_patch_versions |
( |
xmlNode * |
patchset, |
|
|
int |
add[3], |
|
|
int |
del[3] |
|
) |
| |