1
2
3
4
5
6
7
8
9
10 #include <crm_internal.h>
11
12 #define MAX_RESPAWN 100
13
14 extern GMainLoop *mainloop;
15 extern struct qb_ipcs_service_handlers pacemakerd_ipc_callbacks;
16 extern const char *pacemakerd_state;
17 extern gboolean running_with_sbd;
18 extern gboolean shutdown_complete_state_reported_client_closed;
19 extern unsigned int shutdown_complete_state_reported_to;
20 extern crm_trigger_t *shutdown_trigger;
21 extern crm_trigger_t *startup_trigger;
22 extern time_t subdaemon_check_progress;
23
24 int find_and_track_existing_processes(void);
25 gboolean init_children_processes(void *user_data);
26 void pcmk_shutdown(int nsig);
27 void restart_cluster_subdaemons(void);