#include <crm_internal.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <glib.h>
#include <dirent.h>
#include <crm/crm.h>
#include <crm/stonith-ng.h>
#include <crm/fencing/internal.h>
Go to the source code of this file.
bool stonith__agent_is_rhcs |
( |
const char * |
agent | ) |
|
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 98 of file st_rhcs.c.
int stonith__rhcs_validate |
( |
stonith_t * |
st, |
|
|
int |
call_options, |
|
|
const char * |
target, |
|
|
const char * |
agent, |
|
|
GHashTable * |
params, |
|
|
int |
timeout, |
|
|
char ** |
output, |
|
|
char ** |
error_output |
|
) |
| |