pacemaker  2.1.7-0f7f88312f
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 <glib.h>
#include <libxml/tree.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__get_operation (const char *op, const cib__operation_t **operation)
 
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 790 of file cib_ops.c.

◆ cib__get_operation()

int cib__get_operation ( const char *  op,
const cib__operation_t **  operation 
)

Definition at line 142 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 294 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 701 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 421 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 767 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 240 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 456 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 166 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 309 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 259 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 861 of file cib_ops.c.