pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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_update_counter (xmlNode *xml_obj, const char *field, gboolean reset)
 
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)
 
gboolean cib_config_changed (xmlNode *last, xmlNode *next, xmlNode **diff)
 
int cib_process_xpath (const char *op, int options, const char *section, xmlNode *req, xmlNode *input, xmlNode *existing_cib, xmlNode **result_cib, xmlNode **answer)
 
gboolean update_results (xmlNode *failed, xmlNode *target, const char *operation, int return_code)
 

Function Documentation

gboolean cib_config_changed ( xmlNode *  last,
xmlNode *  next,
xmlNode **  diff 
)

Definition at line 603 of file cib_ops.c.

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 127 of file cib_ops.c.

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 519 of file cib_ops.c.

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 280 of file cib_ops.c.

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 584 of file cib_ops.c.

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 75 of file cib_ops.c.

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 315 of file cib_ops.c.

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.

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 168 of file cib_ops.c.

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 92 of file cib_ops.c.

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

Definition at line 675 of file cib_ops.c.

int cib_update_counter ( xmlNode *  xml_obj,
const char *  field,
gboolean  reset 
)

Definition at line 142 of file cib_ops.c.

gboolean update_results ( xmlNode *  failed,
xmlNode *  target,
const char *  operation,
int  return_code 
)

Definition at line 816 of file cib_ops.c.