root/daemons/pacemakerd/pacemakerd.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * Copyright 2010-2023 the Pacemaker project contributors
   3  *
   4  * The version control history for this file may have further details.
   5  *
   6  * This source code is licensed under the GNU General Public License version 2
   7  * or later (GPLv2+) WITHOUT ANY WARRANTY.
   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);

/* [previous][next][first][last][top][bottom][index][help] */