pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
st_lha.c File Reference
#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>
Include dependency graph for st_lha.c:

Go to the source code of this file.

Macros

#define LHA_STONITH_LIBRARY   "libstonith.so.1"
 

Functions

bool stonith__agent_is_lha (const char *agent)
 Determine namespace of a fence agent. More...
 
int stonith__list_lha_agents (stonith_key_value_t **devices)
 
int stonith__lha_metadata (const char *agent, int timeout, char **output)
 
const char * i_hate_pils (int rc)
 
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)
 

Macro Definition Documentation

#define LHA_STONITH_LIBRARY   "libstonith.so.1"

Definition at line 27 of file st_lha.c.

Function Documentation

const char * i_hate_pils ( int  rc)

Definition at line 270 of file st_lha.c.

bool stonith__agent_is_lha ( const char *  agent)

Determine namespace of a fence agent.

Parameters
[in]agentFence agent type
[in]namespace_sName 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 
)

Definition at line 177 of file st_lha.c.

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 
)

Definition at line 276 of file st_lha.c.

int stonith__list_lha_agents ( stonith_key_value_t **  devices)

Definition at line 108 of file st_lha.c.