![]() |
pacemaker
3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>#include <stdbool.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <libgen.h>#include <inttypes.h>#include <sys/types.h>#include <glib.h>#include <crm/crm.h>#include <crm/stonith-ng.h>#include <crm/fencing/internal.h>#include <crm/common/xml.h>#include <crm/services_internal.h>#include "fencing_private.h"
Go to the source code of this file.
Macros | |
| #define | FAILURE_MAX_RETRIES 2 |
Functions | |
| void | stonith__destroy_action (stonith_action_t *action) |
| pcmk__action_result_t * | stonith__action_result (stonith_action_t *action) |
| stonith_action_t * | stonith__action_create (const char *agent, const char *action_name, const char *target, uint32_t target_nodeid, int timeout_sec, GHashTable *device_args, GHashTable *port_map, const char *host_arg) |
| int | stonith__result2rc (const pcmk__action_result_t *result) |
| int | stonith__legacy2status (int rc) |
| void | stonith__xe_set_result (xmlNode *xml, const pcmk__action_result_t *result) |
| xmlNode * | stonith__find_xe_with_result (xmlNode *xml) |
| void | stonith__xe_get_result (const xmlNode *xml, pcmk__action_result_t *result) |
| int | stonith__execute_async (stonith_action_t *action, void *userdata, void(*done)(int pid, const pcmk__action_result_t *result, void *user_data), void(*fork_cb)(int pid, void *user_data)) |
| int | stonith__execute (stonith_action_t *action) |
| #define FAILURE_MAX_RETRIES 2 |
Definition at line 246 of file st_actions.c.
| stonith_action_t* stonith__action_create | ( | const char * | agent, |
| const char * | action_name, | ||
| const char * | target, | ||
| uint32_t | target_nodeid, | ||
| int | timeout_sec, | ||
| GHashTable * | device_args, | ||
| GHashTable * | port_map, | ||
| const char * | host_arg | ||
| ) |
Definition at line 264 of file st_actions.c.
| pcmk__action_result_t* stonith__action_result | ( | stonith_action_t * | action | ) |
Definition at line 241 of file st_actions.c.
| void stonith__destroy_action | ( | stonith_action_t * | action | ) |
Definition at line 216 of file st_actions.c.
| int stonith__execute | ( | stonith_action_t * | action | ) |
Definition at line 695 of file st_actions.c.
| int stonith__execute_async | ( | stonith_action_t * | action, |
| void * | userdata, | ||
| void(*)(int pid, const pcmk__action_result_t *result, void *user_data) | done, | ||
| void(*)(int pid, void *user_data) | fork_cb | ||
| ) |
Definition at line 668 of file st_actions.c.
| xmlNode* stonith__find_xe_with_result | ( | xmlNode * | xml | ) |
Definition at line 470 of file st_actions.c.
| int stonith__legacy2status | ( | int | rc | ) |
Definition at line 401 of file st_actions.c.
| int stonith__result2rc | ( | const pcmk__action_result_t * | result | ) |
Definition at line 327 of file st_actions.c.
| void stonith__xe_get_result | ( | const xmlNode * | xml, |
| pcmk__action_result_t * | result | ||
| ) |
Definition at line 491 of file st_actions.c.
| void stonith__xe_set_result | ( | xmlNode * | xml, |
| const pcmk__action_result_t * | result | ||
| ) |
Definition at line 431 of file st_actions.c.
1.8.14