pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
patchset.c File Reference
#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/common/cib_internal.h>
#include <crm/common/xml.h>
#include <crm/common/xml_internal.h>
#include "crmcommon_private.h"
Include dependency graph for patchset.c:

Go to the source code of this file.

Typedefs

typedef struct xml_change_obj_s xml_change_obj_t
 

Functions

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)
 
bool pcmk__cib_element_in_patchset (const xmlNode *patchset, const char *element)
 

Typedef Documentation

◆ xml_change_obj_t

typedef struct xml_change_obj_s xml_change_obj_t

Function Documentation

◆ patchset_process_digest()

void patchset_process_digest ( xmlNode * patch,
xmlNode * source,
xmlNode * target,
bool with_digest )

Definition at line 289 of file patchset.c.

◆ pcmk__cib_element_in_patchset()

bool pcmk__cib_element_in_patchset ( const xmlNode * patchset,
const char * element )

Definition at line 833 of file patchset.c.

◆ xml_apply_patchset()

int xml_apply_patchset ( xmlNode * xml,
xmlNode * patchset,
bool check_version )

Definition at line 765 of file patchset.c.

◆ xml_create_patchset()

xmlNode * xml_create_patchset ( int format,
xmlNode * source,
xmlNode * target,
bool * config_changed,
bool manage_version )

Definition at line 244 of file patchset.c.

◆ xml_patch_versions()

bool xml_patch_versions ( const xmlNode * patchset,
int add[3],
int del[3] )

Definition at line 315 of file patchset.c.