9 #ifndef PCMK__PCMKI_PCMKI_FENCE__H    10 #define PCMK__PCMKI_PCMKI_FENCE__H    78                         unsigned int timeout, 
int verbose, 
bool broadcast,
   135                              const char *device_id, 
unsigned int timeout);
   196                                int fence_level, GList *devices);
   238                          const char *
id, GHashTable *params, 
unsigned int timeout);
   257 #endif // PCMK__PCMKI_PCMKI_FENCE__H 
int pcmk__fence_last(pcmk__output_t *out, const char *target, bool as_nodeid)
When was a device last fenced? 
 
int pcmk__fence_unregister_level(stonith_t *st, const char *target, int fence_level)
Unregister a fencing level for specific node, node regex, or attribute. 
 
pcmk__fence_history
Control how much of the fencing history is output. 
 
int pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, const char *target, unsigned int timeout)
List registered fence devices. 
 
Formatted output for pacemaker tools. 
 
int pcmk__fence_list_targets(pcmk__output_t *out, stonith_t *st, const char *device_id, unsigned int timeout)
List nodes that can be fenced. 
 
int pcmk__request_fencing(stonith_t *st, const char *target, const char *action, const char *name, unsigned int timeout, unsigned int tolerance, int delay, char **reason)
Ask the cluster to perform fencing. 
 
int pcmk__fence_validate(pcmk__output_t *out, stonith_t *st, const char *agent, const char *id, GHashTable *params, unsigned int timeout)
Validate a fence device configuration. 
 
int pcmk__fence_installed(pcmk__output_t *out, stonith_t *st, unsigned int timeout)
List all installed fence agents. 
 
This structure contains everything that makes up a single output formatter. 
 
int pcmk__get_fencing_history(stonith_t *st, stonith_history_t **stonith_history, enum pcmk__fence_history fence_history)
Fetch fencing history, optionally reducing it. 
 
int pcmk__fence_register_level(stonith_t *st, const char *target, int fence_level, GList *devices)
Register a fencing level for a specific node, node regex, or attribute. 
 
int pcmk__fence_metadata(pcmk__output_t *out, stonith_t *st, const char *agent, unsigned int timeout)
Get metadata for a fence agent.