#include <crm_internal.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <errno.h>
#include <glib.h>
#include <dlfcn.h>
#include <crm/crm.h>
#include <crm/stonith-ng.h>
#include <crm/fencing/internal.h>
#include <crm/msg_xml.h>
#include <crm/common/xml.h>
#include <stonith/stonith.h>
#include <pils/plugin.h>
Go to the source code of this file.
#define LHA_STONITH_LIBRARY "libstonith.so.1" |
const char * i_hate_pils |
( |
int |
rc | ) |
|
bool stonith__agent_is_lha |
( |
const char * |
agent | ) |
|
Determine namespace of a fence agent.
- Parameters
-
[in] | agent | Fence agent type |
[in] | namespace_s | Name of agent namespace as string, if known |
- Returns
- Namespace of specified agent, as enum value
Definition at line 81 of file st_lha.c.
int stonith__lha_metadata |
( |
const char * |
agent, |
|
|
int |
timeout, |
|
|
char ** |
output |
|
) |
| |
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 |
|
) |
| |