#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/tree.h>
#include <crm/crm.h>
#include <crm/msg_xml.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) |
|
bool | xml_patch_versions (const 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) |
|
◆ xml_change_obj_t
◆ apply_xml_diff()
gboolean apply_xml_diff |
( |
xmlNode * |
old_xml, |
|
|
xmlNode * |
diff, |
|
|
xmlNode ** |
new_xml |
|
) |
| |
◆ diff_xml_object()
xmlNode* diff_xml_object |
( |
xmlNode * |
old, |
|
|
xmlNode * |
new, |
|
|
gboolean |
suppress |
|
) |
| |
◆ patchset_process_digest()
void patchset_process_digest |
( |
xmlNode * |
patch, |
|
|
xmlNode * |
source, |
|
|
xmlNode * |
target, |
|
|
bool |
with_digest |
|
) |
| |
◆ purge_diff_markers()
void purge_diff_markers |
( |
xmlNode * |
a_node | ) |
|
◆ subtract_xml_object()
xmlNode* subtract_xml_object |
( |
xmlNode * |
parent, |
|
|
xmlNode * |
left, |
|
|
xmlNode * |
right, |
|
|
gboolean |
full, |
|
|
gboolean * |
changed, |
|
|
const char * |
marker |
|
) |
| |
◆ xml_apply_patchset()
int xml_apply_patchset |
( |
xmlNode * |
xml, |
|
|
xmlNode * |
patchset, |
|
|
bool |
check_version |
|
) |
| |
◆ xml_create_patchset()
xmlNode* xml_create_patchset |
( |
int |
format, |
|
|
xmlNode * |
source, |
|
|
xmlNode * |
target, |
|
|
bool * |
config_changed, |
|
|
bool |
manage_version |
|
) |
| |
◆ xml_patch_versions()
bool xml_patch_versions |
( |
const xmlNode * |
patchset, |
|
|
int |
add[3], |
|
|
int |
del[3] |
|
) |
| |