pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
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/common/xml.h>
#include <stonith/stonith.h>
#include "fencing_private.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)
 
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

◆ LHA_STONITH_LIBRARY

#define LHA_STONITH_LIBRARY   "libstonith.so.1"

Definition at line 28 of file st_lha.c.

Function Documentation

◆ i_hate_pils()

const char * i_hate_pils ( int  rc)

Definition at line 296 of file st_lha.c.

◆ stonith__agent_is_lha()

bool stonith__agent_is_lha ( const char *  agent)

Definition at line 92 of file st_lha.c.

◆ stonith__lha_metadata()

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

Definition at line 179 of file st_lha.c.

◆ stonith__lha_validate()

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 302 of file st_lha.c.

◆ stonith__list_lha_agents()

int stonith__list_lha_agents ( stonith_key_value_t **  devices)

Definition at line 119 of file st_lha.c.