10 #ifndef PCMK__PCMKI_PCMKI_CLUSTER_QUERIES__H 11 # define PCMK__PCMKI_PCMKI_CLUSTER_QUERIES__H 22 gboolean bash_export);
26 unsigned int message_timeout_ms);
28 unsigned int message_timeout_ms);
30 unsigned int message_timeout_ms,
bool show_output,
33 char **node_name,
char **uuid,
char **state,
34 bool *have_quorum,
bool *is_remote,
bool show_output,
35 unsigned int message_timeout_ms);
57 pcmk__query_node_name(
pcmk__output_t *out, uint32_t nodeid,
char **node_name,
58 unsigned int message_timeout_ms)
61 NULL,
false, message_timeout_ms);
66 unsigned int message_timeout_ms,
bool show_output,
int pcmk__list_nodes(pcmk__output_t *out, const char *node_types, gboolean bash_export)
int pcmk__query_node_info(pcmk__output_t *out, uint32_t *node_id, char **node_name, char **uuid, char **state, bool *have_quorum, bool *is_remote, bool show_output, unsigned int message_timeout_ms)
int pcmk__pacemakerd_status(pcmk__output_t *out, const char *ipc_name, unsigned int message_timeout_ms, bool show_output, enum pcmk_pacemakerd_state *state)
Formatted output for pacemaker tools.
int pcmk__designated_controller(pcmk__output_t *out, unsigned int message_timeout_ms)
IPC commands for Pacemakerd.
IPC commands for Pacemaker controller.
int pcmk__controller_status(pcmk__output_t *out, const char *node_name, unsigned int message_timeout_ms)
This structure contains everything that makes up a single output formatter.