Go to the source code of this file.
|
G_GNUC_INTERNAL int | stonith__execute (stonith_action_t *action) |
|
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) |
| Execute RHCS-compatible agent's meta-data action. More...
|
|
G_GNUC_INTERNAL bool | stonith__agent_is_rhcs (const char *agent) |
|
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) |
|
◆ stonith__agent_is_rhcs()
G_GNUC_INTERNAL bool stonith__agent_is_rhcs |
( |
const char * |
agent | ) |
|
◆ stonith__execute()
◆ stonith__list_rhcs_agents()
◆ stonith__rhcs_metadata()
G_GNUC_INTERNAL int stonith__rhcs_metadata |
( |
const char * |
agent, |
|
|
int |
timeout, |
|
|
char ** |
output |
|
) |
| |
Execute RHCS-compatible agent's meta-data action.
- Parameters
-
[in] | agent | Agent to execute |
[in] | timeout | Action timeout |
[out] | output | Where to store action output (or NULL to ignore) |
- Todo:
- timeout is currently ignored; shouldn't we use it?
Definition at line 219 of file st_rhcs.c.
◆ stonith__rhcs_validate()
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 |
|
) |
| |