1
2
3
4
5
6
7
8 #include <crm_internal.h>
9
10 #include <sys/param.h>
11 #include <sys/types.h>
12 #include <sys/wait.h>
13 #include <sys/resource.h>
14
15 #include <stdint.h>
16
17 #include <crm/crm.h>
18 #include <crm/common/xml.h>
19
20 #define SIZEOF(a) (sizeof(a) / sizeof(a[0]))
21 #define MAX_RESPAWN 100
22
23 gboolean mcp_read_config(void);
24
25 gboolean cluster_connect_cfg(void);
26 gboolean cluster_disconnect_cfg(void);
27 void pcmkd_shutdown_corosync(void);
28
29 void pcmk_shutdown(int nsig);