root/daemons/controld/controld_timers.h

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

INCLUDED FROM


   1 /*
   2  * Copyright 2004-2022 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 Lesser General Public License
   7  * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
   8  */
   9 
  10 #ifndef CONTROLD_TIMERS__H
  11 #  define CONTROLD_TIMERS__H
  12 
  13 #  include <stdbool.h>              // bool
  14 #  include <glib.h>                 // gboolean, gpointer, guint
  15 #  include <controld_fsa.h>         // crmd_fsa_input
  16 
  17 bool controld_init_fsa_timers(void);
  18 void controld_free_fsa_timers(void);
  19 void controld_configure_fsa_timers(GHashTable *options);
  20 
  21 bool controld_stop_recheck_timer(void);
  22 bool controld_stop_transition_timer(void);
  23 
  24 void controld_start_recheck_timer(void);
  25 void controld_start_transition_timer(void);
  26 void controld_start_wait_timer(void);
  27 
  28 bool controld_is_started_transition_timer(void);
  29 
  30 guint controld_get_period_transition_timer(void);
  31 
  32 void controld_reset_counter_election_timer(void);
  33 
  34 void controld_shutdown_start_countdown(guint default_period_ms);
  35 
  36 #endif

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