|
pacemaker
2.1.6-802a72226b
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>#include <sys/param.h>#include <crm/crm.h>#include <stdio.h>#include <sys/types.h>#include <unistd.h>#include <stdlib.h>#include <errno.h>#include <fcntl.h>#include <libgen.h>#include <crm/msg_xml.h>#include <crm/common/xml.h>#include <crm/common/xml_internal.h>#include <crm/common/output_internal.h>#include <crm/cib/internal.h>
Go to the source code of this file.
Macros | |
| #define | XPATH_UPPER_TRANS "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
| #define | XPATH_LOWER_TRANS "abcdefghijklmnopqrstuvwxyz" |
| #define | XPATH_NODE |
Functions | |
| int | cib__update_node_attr (pcmk__output_t *out, cib_t *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, const char *user_name, const char *node_type) |
| int | cib__get_node_attrs (pcmk__output_t *out, cib_t *cib, 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 *user_name, xmlNode **result) |
| int | cib__delete_node_attr (pcmk__output_t *out, cib_t *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, const char *user_name) |
| int | find_nvpair_attr_delegate (cib_t *cib, const char *attr, const char *section, const char *node_uuid, const char *attr_set_type, const char *set_name, const char *attr_id, const char *attr_name, gboolean to_console, char **value, const char *user_name) |
| int | update_attr_delegate (cib_t *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 | read_attr_delegate (cib_t *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 *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) |
| #define XPATH_LOWER_TRANS "abcdefghijklmnopqrstuvwxyz" |
Definition at line 607 of file cib_attrs.c.
| #define XPATH_NODE |
Definition at line 608 of file cib_attrs.c.
| #define XPATH_UPPER_TRANS "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
Definition at line 606 of file cib_attrs.c.
| int cib__delete_node_attr | ( | pcmk__output_t * | out, |
| cib_t * | 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, | ||
| const char * | user_name | ||
| ) |
Definition at line 370 of file cib_attrs.c.
| int cib__get_node_attrs | ( | pcmk__output_t * | out, |
| cib_t * | cib, | ||
| 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 * | user_name, | ||
| xmlNode ** | result | ||
| ) |
Definition at line 344 of file cib_attrs.c.
| int cib__update_node_attr | ( | pcmk__output_t * | out, |
| cib_t * | 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, | ||
| const char * | user_name, | ||
| const char * | node_type | ||
| ) |
Definition at line 173 of file cib_attrs.c.
| int delete_attr_delegate | ( | cib_t * | 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 504 of file cib_attrs.c.
| int find_nvpair_attr_delegate | ( | cib_t * | cib, |
| const char * | attr, | ||
| const char * | section, | ||
| const char * | node_uuid, | ||
| const char * | attr_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 417 of file cib_attrs.c.
| int query_node_uname | ( | cib_t * | the_cib, |
| const char * | uuid, | ||
| char ** | uname | ||
| ) |
Definition at line 662 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 621 of file cib_attrs.c.
| int read_attr_delegate | ( | cib_t * | 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 472 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 710 of file cib_attrs.c.
| int update_attr_delegate | ( | cib_t * | 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 449 of file cib_attrs.c.
1.8.14