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