1
2
3
4
5
6
7
8
9
10 #ifndef CONTROLD_FENCING__H
11 # define CONTROLD_FENCING__H
12
13 #include <stdbool.h>
14 #include <pacemaker-internal.h>
15
16 void controld_configure_fencing(GHashTable *options);
17
18
19 void st_fail_count_reset(const char * target);
20
21
22 gboolean controld_timer_fencer_connect(gpointer user_data);
23 void controld_disconnect_fencer(bool destroy);
24 int controld_execute_fence_action(pcmk__graph_t *graph,
25 pcmk__graph_action_t *action);
26 bool controld_verify_stonith_watchdog_timeout(const char *value);
27
28
29 void add_stonith_cleanup(const char *target);
30 void remove_stonith_cleanup(const char *target);
31 void purge_stonith_cleanup(void);
32 void execute_stonith_cleanup(void);
33
34
35 void te_trigger_stonith_history_sync(bool long_timeout);
36 void te_cleanup_stonith_history_sync(stonith_t *st, bool free_timers);
37
38 #endif