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_cib.h>
16 #include <controld_fencing.h>
17 #include <controld_fsa.h>
18 #include <controld_globals.h>
19 #include <controld_timers.h>
20 #include <controld_lrm.h>
21 #include <controld_membership.h>
22 #include <controld_messages.h>
23 #include <controld_metadata.h>
24 #include <controld_throttle.h>
25 #include <controld_transition.h>
26 #include <controld_utils.h>
27
28 # define controld_trigger_config() \
29 controld_trigger_config_as(__func__, __LINE__)
30
31 void crmd_metadata(void);
32 void controld_trigger_config_as(const char *fn, int line);
33 void controld_election_init(const char *uname);
34 void controld_configure_election(GHashTable *options);
35 void controld_remove_voter(const char *uname);
36 void controld_election_fini(void);
37 void controld_stop_current_election_timeout(void);
38
39 void set_join_state(const char *start_state, const char *node_name,
40 const char *node_uuid, bool remote);
41
42 #endif