1
2
3
4
5
6
7
8
9
10 #ifndef CRMD__H
11 # define CRMD__H
12
13 #include <controld_alerts.h>
14 #include <controld_callbacks.h>
15 #include <controld_fencing.h>
16 #include <controld_fsa.h>
17 #include <controld_timers.h>
18 #include <controld_lrm.h>
19 #include <controld_membership.h>
20 #include <controld_messages.h>
21 #include <controld_metadata.h>
22 #include <controld_throttle.h>
23 #include <controld_transition.h>
24 #include <controld_utils.h>
25
26 extern GMainLoop *crmd_mainloop;
27 extern bool no_quorum_suicide_escalation;
28
29 void do_cib_updated(const char *event, xmlNode * msg);
30 void do_cib_replaced(const char *event, xmlNode * msg);
31 void crmd_metadata(void);
32 void controld_election_init(const char *uname);
33 void controld_remove_voter(const char *uname);
34 void controld_election_fini(void);
35 void controld_set_election_period(const char *value);
36 void controld_stop_election_timer(void);
37 void controld_disconnect_cib_manager(void);
38
39 #endif