1
2
3
4
5
6
7
8
9
10 #ifndef PCMK__FENCING_PRIVATE__H
11 # define PCMK__FENCING_PRIVATE__H
12
13 G_GNUC_INTERNAL
14 int stonith__execute(stonith_action_t *action);
15
16
17
18 G_GNUC_INTERNAL
19 int stonith__list_rhcs_agents(stonith_key_value_t **devices);
20
21 G_GNUC_INTERNAL
22 int stonith__rhcs_metadata(const char *agent, int timeout, char **output);
23
24 G_GNUC_INTERNAL
25 bool stonith__agent_is_rhcs(const char *agent);
26
27 G_GNUC_INTERNAL
28 int stonith__rhcs_validate(stonith_t *st, int call_options, const char *target,
29 const char *agent, GHashTable *params,
30 const char *host_arg, int timeout,
31 char **output, char **error_output);
32
33 #ifdef HAVE_STONITH_STONITH_H
34
35
36 G_GNUC_INTERNAL
37 int stonith__list_lha_agents(stonith_key_value_t **devices);
38
39 G_GNUC_INTERNAL
40 int stonith__lha_metadata(const char *agent, int timeout, char **output);
41
42 G_GNUC_INTERNAL
43 bool stonith__agent_is_lha(const char *agent);
44
45 G_GNUC_INTERNAL
46 int stonith__lha_validate(stonith_t *st, int call_options, const char *target,
47 const char *agent, GHashTable *params,
48 int timeout, char **output, char **error_output);
49 #endif
50
51 #endif