| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef PACEMAKER__H |
| # define PACEMAKER__H |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| #ifdef BUILD_PUBLIC_LIBPACEMAKER |
| |
| |
| |
| |
| |
| |
| |
| # include <crm/stonith-ng.h> |
| # include <libxml/tree.h> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| int pcmk_fence_action(stonith_t *st, const char *target, const char *action, |
| const char *name, unsigned int timeout, unsigned int tolerance); |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, |
| unsigned int timeout, bool quiet, int verbose, |
| bool broadcast, bool cleanup); |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| int pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout); |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| int pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid); |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| int pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, |
| const char *device_id, unsigned int timeout); |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| int pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, |
| unsigned int timeout); |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, |
| unsigned int timeout); |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| int pcmk_fence_register_level(stonith_t *st, char *target, int fence_level, |
| stonith_key_value_t *devices); |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| int pcmk_fence_unregister_level(stonith_t *st, char *target, int fence_level); |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| int pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent, |
| const char *id, stonith_key_value_t *params, |
| unsigned int timeout); |
| |
| #endif |
| |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif |