1
2
3
4
5
6
7
8
9
10 #ifndef PCMK__CRM_CIB_UTIL_COMPAT__H
11 # define PCMK__CRM_CIB_UTIL_COMPAT__H
12
13 #include <libxml/tree.h>
14
15 #include <crm/cib/cib_types.h>
16
17 #include <crm/common/xml.h>
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
22
23
24
25
26
27
28
29
30
31
32 const char *get_object_path(const char *object_type);
33
34
35 const char *get_object_parent(const char *object_type);
36
37
38 xmlNode *get_object_root(const char *object_type, xmlNode *the_root);
39
40
41 int set_standby(cib_t *the_cib, const char *uuid, const char *scope,
42 const char *standby_value);
43
44
45 int query_node_uname(cib_t * the_cib, const char *uuid, char **uname);
46
47
48 xmlNode *cib_get_generation(cib_t *cib);
49
50
51 const char *cib_pref(GHashTable * options, const char *name);
52
53
54 void cib_metadata(void);
55
56 #ifdef __cplusplus
57 }
58 #endif
59
60 #endif