14 #include <libxml/tree.h>
33 const char *section,
const char *node_uuid,
34 const char *set_type,
const char *set_name,
35 const char *attr_id,
const char *attr_name,
36 const char *attr_value, gboolean to_console,
37 const char *user_name,
const char *
node_type);
40 const char *section,
const char *node_uuid,
41 const char *set_type,
const char *set_name,
42 const char *attr_id,
const char *attr_name,
43 gboolean to_console,
char **value,
const char *user_name);
46 const char *section,
const char *node_uuid,
47 const char *set_type,
const char *set_name,
48 const char *attr_id,
const char *attr_name,
49 char **attr_value, gboolean to_console,
const char *user_name);
52 const char *section,
const char *node_uuid,
53 const char *set_type,
const char *set_name,
54 const char *attr_id,
const char *attr_name,
55 const char *attr_value, gboolean to_console,
const char *user_name);
61 int set_standby(
cib_t * the_cib,
const char *uuid,
const char *scope,
const char *standby_value);
66 const char *
cib_pref(GHashTable * options,
const char *
name);
gboolean cib_version_details(xmlNode *cib, int *admin_epoch, int *epoch, int *updates)
gboolean verifyCibXml(xmlNode *cib)
xmlNode * get_object_root(const char *object_type, xmlNode *the_root)
Data types for Cluster Information Base access.
const char * get_object_path(const char *object_type)
int query_node_uuid(cib_t *the_cib, const char *uname, char **uuid, int *is_remote_node)
int set_standby(cib_t *the_cib, const char *uuid, const char *scope, const char *standby_value)
const char * get_object_parent(const char *object_type)
xmlNode * cib_get_generation(cib_t *cib)
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 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 query_node_uname(cib_t *the_cib, const char *uuid, char **uname)
xmlNode * createEmptyCib(int cib_epoch)
Create XML for a new (empty) CIB.
int cib_apply_patch_event(xmlNode *event, xmlNode *input, xmlNode **output, int level)
Apply a CIB update patch to a given CIB.
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 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)
const char * cib_pref(GHashTable *options, const char *name)
xmlNode * create_cib_fragment_adv(xmlNode *update, const char *section, const char *source)