1
2
3
4
5
6
7
8
9
10 #ifndef PCMK__PCMKI_PCMKI_CLUSTER_QUERIES__H
11 # define PCMK__PCMKI_PCMKI_CLUSTER_QUERIES__H
12
13 #include <glib.h>
14
15 #include <crm/crm.h>
16 #include <crm/common/output_internal.h>
17 #include <crm/common/ipc_controld.h>
18 #include <crm/common/ipc_pacemakerd.h>
19
20 int pcmk__controller_status(pcmk__output_t *out, char *dest_node, guint message_timeout_ms);
21 int pcmk__designated_controller(pcmk__output_t *out, guint message_timeout_ms);
22 int pcmk__pacemakerd_status(pcmk__output_t *out, const char *ipc_name,
23 guint message_timeout_ms,
24 enum pcmk_pacemakerd_state *state);
25 int pcmk__list_nodes(pcmk__output_t *out, char *node_types, gboolean bash_export);
26
27 #endif