pacemaker
2.0.5-ba59be712
Scalable High-Availability cluster resource manager
|
Go to the source code of this file.
Functions | |
const char * | get_object_path (const char *object_type) |
const char * | get_object_parent (const char *object_type) |
xmlNode * | get_object_root (const char *object_type, xmlNode *the_root) |
xmlNode * | create_cib_fragment_adv (xmlNode *update, const char *section, const char *source) |
xmlNode * | createEmptyCib (int admin_epoch) |
gboolean | verifyCibXml (xmlNode *cib) |
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 | query_node_uname (cib_t *the_cib, const char *uuid, char **uname) |
int | set_standby (cib_t *the_cib, const char *uuid, const char *scope, const char *standby_value) |
xmlNode * | cib_get_generation (cib_t *cib) |
void | cib_metadata (void) |
const char * | cib_pref (GHashTable *options, const char *name) |
int | cib_apply_patch_event (xmlNode *event, xmlNode *input, xmlNode **output, int level) |
int cib_apply_patch_event | ( | xmlNode * | event, |
xmlNode * | input, | ||
xmlNode ** | output, | ||
int | level | ||
) |
Definition at line 735 of file cib_utils.c.
xmlNode* cib_get_generation | ( | cib_t * | cib | ) |
Definition at line 60 of file cib_utils.c.
void cib_metadata | ( | void | ) |
Definition at line 639 of file cib_utils.c.
const char* cib_pref | ( | GHashTable * | options, |
const char * | name | ||
) |
Definition at line 655 of file cib_utils.c.
gboolean cib_version_details | ( | xmlNode * | cib, |
int * | admin_epoch, | ||
int * | epoch, | ||
int * | updates | ||
) |
Definition at line 75 of file cib_utils.c.
xmlNode* create_cib_fragment_adv | ( | xmlNode * | update, |
const char * | section, | ||
const char * | source | ||
) |
xmlNode* createEmptyCib | ( | int | admin_epoch | ) |
Definition at line 162 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 349 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 48 of file cib_attrs.c.
const char* get_object_parent | ( | const char * | object_type | ) |
Definition at line 132 of file cib_utils.c.
const char* get_object_path | ( | const char * | object_type | ) |
Definition at line 117 of file cib_utils.c.
xmlNode* get_object_root | ( | const char * | object_type, |
xmlNode * | the_root | ||
) |
Definition at line 146 of file cib_utils.c.
int query_node_uname | ( | cib_t * | the_cib, |
const char * | uuid, | ||
char ** | uname | ||
) |
Definition at line 522 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 484 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 326 of file cib_attrs.c.
int set_standby | ( | cib_t * | the_cib, |
const char * | uuid, | ||
const char * | scope, | ||
const char * | standby_value | ||
) |
Definition at line 570 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 169 of file cib_attrs.c.
gboolean verifyCibXml | ( | xmlNode * | cib | ) |