10 #ifndef PCMK__FENCING_PRIVATE__H 11 # define PCMK__FENCING_PRIVATE__H 29 const char *agent, GHashTable *params,
30 const char *host_arg,
int timeout,
31 char **output,
char **error_output);
33 #ifdef HAVE_STONITH_STONITH_H 47 const char *agent, GHashTable *params,
48 int timeout,
char **output,
char **error_output);
51 #endif // PCMK__FENCING_PRIVATE__H struct stonith_action_s stonith_action_t
int stonith__lha_validate(stonith_t *st, int call_options, const char *target, const char *agent, GHashTable *params, int timeout, char **output, char **error_output)
int stonith__lha_metadata(const char *agent, int timeout, char **output)
int stonith__list_lha_agents(stonith_key_value_t **devices)
G_GNUC_INTERNAL int stonith__rhcs_validate(stonith_t *st, int call_options, const char *target, const char *agent, GHashTable *params, const char *host_arg, int timeout, char **output, char **error_output)
G_GNUC_INTERNAL bool stonith__agent_is_rhcs(const char *agent)
G_GNUC_INTERNAL int stonith__list_rhcs_agents(stonith_key_value_t **devices)
G_GNUC_INTERNAL int stonith__rhcs_metadata(const char *agent, int timeout, char **output)
Retrieve metadata for RHCS-compatible fence agent.
bool stonith__agent_is_lha(const char *agent)
G_GNUC_INTERNAL int stonith__execute(stonith_action_t *action)