pacemaker  2.0.2-debe490
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 <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.




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


Definition at line 24 of file st_lha.c.

Function Documentation

const char * i_hate_pils ( int  rc)

Definition at line 245 of file st_lha.c.

bool stonith__agent_is_lha ( const char *  agent)

Determine namespace of a fence agent.

[in]agentFence agent type
[in]namespace_sName of agent namespace as string, if known
Namespace of specified agent, as enum value

Definition at line 57 of file st_lha.c.

int stonith__lha_metadata ( const char *  agent,
int  timeout,
char **  output 

Definition at line 152 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 251 of file st_lha.c.

int stonith__list_lha_agents ( stonith_key_value_t **  devices)

Definition at line 84 of file st_lha.c.