pacemaker
2.0.5-ba59be712
Scalable High-Availability cluster resource manager
|
IPC commands for Pacemakerd. More...
Go to the source code of this file.
Data Structures | |
struct | pcmk_pacemakerd_api_reply_t |
Enumerations | |
enum | pcmk_pacemakerd_state { pcmk_pacemakerd_state_invalid = -1, pcmk_pacemakerd_state_init = 0, pcmk_pacemakerd_state_starting_daemons, pcmk_pacemakerd_state_wait_for_ping, pcmk_pacemakerd_state_running, pcmk_pacemakerd_state_shutting_down, pcmk_pacemakerd_state_shutdown_complete, pcmk_pacemakerd_state_max = pcmk_pacemakerd_state_shutdown_complete } |
enum | pcmk_pacemakerd_api_reply { pcmk_pacemakerd_reply_unknown, pcmk_pacemakerd_reply_ping } |
Possible types of pacemakerd replies. More... | |
Functions | |
int | pcmk_pacemakerd_api_ping (pcmk_ipc_api_t *api, const char *ipc_name) |
enum pcmk_pacemakerd_state | pcmk_pacemakerd_api_daemon_state_text2enum (const char *state) |
const char * | pcmk_pacemakerd_api_daemon_state_enum2text (enum pcmk_pacemakerd_state state) |
IPC commands for Pacemakerd.
Definition in file ipc_pacemakerd.h.
Possible types of pacemakerd replies.
Enumerator | |
---|---|
pcmk_pacemakerd_reply_unknown | |
pcmk_pacemakerd_reply_ping |
Definition at line 39 of file ipc_pacemakerd.h.
Definition at line 27 of file ipc_pacemakerd.h.
const char* pcmk_pacemakerd_api_daemon_state_enum2text | ( | enum pcmk_pacemakerd_state | state | ) |
Definition at line 55 of file ipc_pacemakerd.c.
enum pcmk_pacemakerd_state pcmk_pacemakerd_api_daemon_state_text2enum | ( | const char * | state | ) |
Definition at line 38 of file ipc_pacemakerd.c.
int pcmk_pacemakerd_api_ping | ( | pcmk_ipc_api_t * | api, |
const char * | ipc_name | ||
) |
Definition at line 205 of file ipc_pacemakerd.c.