![]()  | 
  
    pacemaker
    2.1.9-49aab99839
    
   Scalable High-Availability cluster resource manager 
   | 
 
#include <glib.h>#include <libxml/tree.h>#include <crm/cib/cib_types.h>#include <crm/cib/util_compat.h>

Go to the source code of this file.
Functions | |
| xmlNode * | createEmptyCib (int cib_epoch) | 
| Create XML for a new (empty) CIB.  More... | |
| gboolean | cib_version_details (xmlNode *cib, int *admin_epoch, int *epoch, int *updates) | 
| int | update_attr_delegate (cib_t *the_cib, int call_options, const char *section, const char *node_uuid, const char *set_type, const char *set_name, const char *attr_id, const char *attr_name, const char *attr_value, gboolean to_console, const char *user_name, const char *node_type) | 
| int | find_nvpair_attr_delegate (cib_t *the_cib, const char *attr, const char *section, const char *node_uuid, const char *set_type, const char *set_name, const char *attr_id, const char *attr_name, gboolean to_console, char **value, const char *user_name) | 
| int | read_attr_delegate (cib_t *the_cib, const char *section, const char *node_uuid, const char *set_type, const char *set_name, const char *attr_id, const char *attr_name, char **attr_value, gboolean to_console, const char *user_name) | 
| int | delete_attr_delegate (cib_t *the_cib, int options, const char *section, const char *node_uuid, const char *set_type, const char *set_name, const char *attr_id, const char *attr_name, const char *attr_value, gboolean to_console, const char *user_name) | 
| int | query_node_uuid (cib_t *the_cib, const char *uname, char **uuid, int *is_remote_node) | 
| int | cib_apply_patch_event (xmlNode *event, xmlNode *input, xmlNode **output, int level) | 
| Apply a CIB update patch to a given CIB.  More... | |
| int cib_apply_patch_event | ( | xmlNode * | event, | 
| xmlNode * | input, | ||
| xmlNode ** | output, | ||
| int | level | ||
| ) | 
Apply a CIB update patch to a given CIB.
| [in] | event | CIB update patch | 
| [in] | input | CIB to patch | 
| [out] | output | Resulting CIB after patch | 
| [in] | level | Log the patch at this log level (unless LOG_CRIT) | 
Definition at line 918 of file cib_utils.c.
| gboolean cib_version_details | ( | xmlNode * | cib, | 
| int * | admin_epoch, | ||
| int * | epoch, | ||
| int * | updates | ||
| ) | 
Definition at line 28 of file cib_utils.c.
| xmlNode* createEmptyCib | ( | int | cib_epoch | ) | 
Create XML for a new (empty) CIB.
| [in] | cib_epoch | What to use as PCMK_XA_EPOCH CIB attribute | 
Definition at line 228 of file cib_utils.c.
| int delete_attr_delegate | ( | cib_t * | the_cib, | 
| int | options, | ||
| const char * | section, | ||
| const char * | node_uuid, | ||
| const char * | set_type, | ||
| const char * | set_name, | ||
| const char * | attr_id, | ||
| const char * | attr_name, | ||
| const char * | attr_value, | ||
| gboolean | to_console, | ||
| const char * | user_name | ||
| ) | 
Definition at line 511 of file cib_attrs.c.
| int find_nvpair_attr_delegate | ( | cib_t * | the_cib, | 
| const char * | attr, | ||
| const char * | section, | ||
| const char * | node_uuid, | ||
| const char * | set_type, | ||
| const char * | set_name, | ||
| const char * | attr_id, | ||
| const char * | attr_name, | ||
| gboolean | to_console, | ||
| char ** | value, | ||
| const char * | user_name | ||
| ) | 
Definition at line 423 of file cib_attrs.c.
| int query_node_uuid | ( | cib_t * | the_cib, | 
| const char * | uname, | ||
| char ** | uuid, | ||
| int * | is_remote_node | ||
| ) | 
Definition at line 628 of file cib_attrs.c.
| int read_attr_delegate | ( | cib_t * | the_cib, | 
| const char * | section, | ||
| const char * | node_uuid, | ||
| const char * | set_type, | ||
| const char * | set_name, | ||
| const char * | attr_id, | ||
| const char * | attr_name, | ||
| char ** | attr_value, | ||
| gboolean | to_console, | ||
| const char * | user_name | ||
| ) | 
Definition at line 478 of file cib_attrs.c.
| int update_attr_delegate | ( | cib_t * | the_cib, | 
| int | call_options, | ||
| const char * | section, | ||
| const char * | node_uuid, | ||
| const char * | set_type, | ||
| const char * | set_name, | ||
| const char * | attr_id, | ||
| const char * | attr_name, | ||
| const char * | attr_value, | ||
| gboolean | to_console, | ||
| const char * | user_name, | ||
| const char * | node_type | ||
| ) | 
Definition at line 455 of file cib_attrs.c.
 1.8.14