pacemaker
2.1.7-0f7f88312f
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_remote, pcmk_pacemakerd_state_max = pcmk_pacemakerd_state_remote } |
enum | pcmk_pacemakerd_api_reply { pcmk_pacemakerd_reply_unknown, pcmk_pacemakerd_reply_ping, pcmk_pacemakerd_reply_shutdown } |
Possible types of pacemakerd replies. More... | |
Functions | |
int | pcmk_pacemakerd_api_ping (pcmk_ipc_api_t *api, const char *ipc_name) |
int | pcmk_pacemakerd_api_shutdown (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 | |
pcmk_pacemakerd_reply_shutdown |
Definition at line 40 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 56 of file ipc_pacemakerd.c.
enum pcmk_pacemakerd_state pcmk_pacemakerd_api_daemon_state_text2enum | ( | const char * | state | ) |
Definition at line 39 of file ipc_pacemakerd.c.
int pcmk_pacemakerd_api_ping | ( | pcmk_ipc_api_t * | api, |
const char * | ipc_name | ||
) |
Definition at line 307 of file ipc_pacemakerd.c.
int pcmk_pacemakerd_api_shutdown | ( | pcmk_ipc_api_t * | api, |
const char * | ipc_name | ||
) |
Definition at line 313 of file ipc_pacemakerd.c.