1 #ifndef PCMK__PCMKI_PCMKI_CLUSTER_QUERIES__H
2 # define PCMK__PCMKI_PCMKI_CLUSTER_QUERIES__H
3
4 #include <glib.h>
5
6 #include <crm/crm.h>
7 #include <crm/common/output_internal.h>
8 #include <crm/common/ipc_controld.h>
9 #include <crm/common/ipc_pacemakerd.h>
10
11 int pcmk__controller_status(pcmk__output_t *out, char *dest_node, guint message_timeout_ms);
12 int pcmk__designated_controller(pcmk__output_t *out, guint message_timeout_ms);
13 int pcmk__pacemakerd_status(pcmk__output_t *out, char *ipc_name, guint message_timeout_ms);
14 int pcmk__list_nodes(pcmk__output_t *out, char *node_types, gboolean BASH_EXPORT);
15
16 #endif