pacemaker  2.1.6-802a72226b
Scalable High-Availability cluster resource manager
Functions
cib_ops.c File Reference
#include <crm_internal.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
#include <time.h>
#include <sys/param.h>
#include <sys/types.h>
#include <crm/crm.h>
#include <crm/cib/internal.h>
#include <crm/msg_xml.h>
#include <crm/common/xml.h>
#include <crm/common/xml_internal.h>
Include dependency graph for cib_ops.c:

Go to the source code of this file.

Functions

int cib_process_query (const char *op, int options, const char *section, xmlNode *req, xmlNode *input, xmlNode *existing_cib, xmlNode **result_cib, xmlNode **answer)
 
int cib_process_erase (const char *op, int options, const char *section, xmlNode *req, xmlNode *input, xmlNode *existing_cib, xmlNode **result_cib, xmlNode **answer)
 
int cib_process_upgrade (const char *op, int options, const char *section, xmlNode *req, xmlNode *input, xmlNode *existing_cib, xmlNode **result_cib, xmlNode **answer)
 
int cib_process_bump (const char *op, int options, const char *section, xmlNode *req, xmlNode *input, xmlNode *existing_cib, xmlNode **result_cib, xmlNode **answer)
 
int cib_process_replace (const char *op, int options, const char *section, xmlNode *req, xmlNode *input, xmlNode *existing_cib, xmlNode **result_cib, xmlNode **answer)
 
int cib_process_delete (const char *op, int options, const char *section, xmlNode *req, xmlNode *input, xmlNode *existing_cib, xmlNode **result_cib, xmlNode **answer)
 
int cib_process_modify (const char *op, int options, const char *section, xmlNode *req, xmlNode *input, xmlNode *existing_cib, xmlNode **result_cib, xmlNode **answer)
 
int cib_process_create (const char *op, int options, const char *section, xmlNode *req, xmlNode *input, xmlNode *existing_cib, xmlNode **result_cib, xmlNode **answer)
 
int cib_process_diff (const char *op, int options, const char *section, xmlNode *req, xmlNode *input, xmlNode *existing_cib, xmlNode **result_cib, xmlNode **answer)
 
bool cib__config_changed_v1 (xmlNode *last, xmlNode *next, xmlNode **diff)
 
int cib_process_xpath (const char *op, int options, const char *section, const xmlNode *req, xmlNode *input, xmlNode *existing_cib, xmlNode **result_cib, xmlNode **answer)
 

Function Documentation

◆ cib__config_changed_v1()

bool cib__config_changed_v1 ( xmlNode *  last,
xmlNode *  next,
xmlNode **  diff 
)

Definition at line 656 of file cib_ops.c.

◆ cib_process_bump()

int cib_process_bump ( const char *  op,
int  options,
const char *  section,
xmlNode *  req,
xmlNode *  input,
xmlNode *  existing_cib,
xmlNode **  result_cib,
xmlNode **  answer 
)

Definition at line 156 of file cib_ops.c.

◆ cib_process_create()

int cib_process_create ( const char *  op,
int  options,
const char *  section,
xmlNode *  req,
xmlNode *  input,
xmlNode *  existing_cib,
xmlNode **  result_cib,
xmlNode **  answer 
)

Definition at line 570 of file cib_ops.c.

◆ cib_process_delete()

int cib_process_delete ( const char *  op,
int  options,
const char *  section,
xmlNode *  req,
xmlNode *  input,
xmlNode *  existing_cib,
xmlNode **  result_cib,
xmlNode **  answer 
)

Definition at line 284 of file cib_ops.c.

◆ cib_process_diff()

int cib_process_diff ( const char *  op,
int  options,
const char *  section,
xmlNode *  req,
xmlNode *  input,
xmlNode *  existing_cib,
xmlNode **  result_cib,
xmlNode **  answer 
)

Definition at line 636 of file cib_ops.c.

◆ cib_process_erase()

int cib_process_erase ( const char *  op,
int  options,
const char *  section,
xmlNode *  req,
xmlNode *  input,
xmlNode *  existing_cib,
xmlNode **  result_cib,
xmlNode **  answer 
)

Definition at line 104 of file cib_ops.c.

◆ cib_process_modify()

int cib_process_modify ( const char *  op,
int  options,
const char *  section,
xmlNode *  req,
xmlNode *  input,
xmlNode *  existing_cib,
xmlNode **  result_cib,
xmlNode **  answer 
)

Definition at line 319 of file cib_ops.c.

◆ cib_process_query()

int cib_process_query ( const char *  op,
int  options,
const char *  section,
xmlNode *  req,
xmlNode *  input,
xmlNode *  existing_cib,
xmlNode **  result_cib,
xmlNode **  answer 
)

Definition at line 30 of file cib_ops.c.

◆ cib_process_replace()

int cib_process_replace ( const char *  op,
int  options,
const char *  section,
xmlNode *  req,
xmlNode *  input,
xmlNode *  existing_cib,
xmlNode **  result_cib,
xmlNode **  answer 
)

Definition at line 171 of file cib_ops.c.

◆ cib_process_upgrade()

int cib_process_upgrade ( const char *  op,
int  options,
const char *  section,
xmlNode *  req,
xmlNode *  input,
xmlNode *  existing_cib,
xmlNode **  result_cib,
xmlNode **  answer 
)

Definition at line 121 of file cib_ops.c.

◆ cib_process_xpath()

int cib_process_xpath ( const char *  op,
int  options,
const char *  section,
const xmlNode *  req,
xmlNode *  input,
xmlNode *  existing_cib,
xmlNode **  result_cib,
xmlNode **  answer 
)

Definition at line 727 of file cib_ops.c.