1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 #include <crm/cib/internal.h>
20
21 extern xmlNode *cib_msg_copy(xmlNode * msg, gboolean with_data);
22 extern xmlNode *cib_construct_reply(xmlNode * request, xmlNode * output, int rc);
23 extern int cib_get_operation_id(const char *op, int *operation);
24
25 extern cib_op_t *cib_op_func(int call_type);
26
27 extern gboolean cib_op_modifies(int call_type);
28 extern int cib_op_prepare(int call_type, xmlNode * request, xmlNode ** input, const char **section);
29 extern int cib_op_cleanup(int call_type, int options, xmlNode ** input, xmlNode ** output);
30 extern int cib_op_can_run(int call_type, int call_options, gboolean privileged,
31 gboolean global_update);
32
33
34 extern GMainLoop *mainloop;
35 extern crm_cluster_t crm_cluster;
36 extern GHashTable *local_notify_queue;
37
38 extern gboolean legacy_mode;
39 extern gboolean stand_alone;
40 extern gboolean cib_shutdown_flag;
41 extern const char *cib_root;
42 extern char *cib_our_uname;
43
44 extern int cib_status;
45 extern unsigned long cib_num_ops, cib_num_local, cib_num_updates, cib_num_fail;
46 extern unsigned long cib_bad_connects, cib_num_timeouts;
47