pacemaker  2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
pcmki_cluster_queries.h
Go to the documentation of this file.
1 /*
2  * Copyright 2020-2022 the Pacemaker project contributors
3  *
4  * The version control history for this file may have further details.
5  *
6  * This source code is licensed under the GNU Lesser General Public License
7  * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
8  */
9 
10 #ifndef PCMK__PCMKI_PCMKI_CLUSTER_QUERIES__H
11 # define PCMK__PCMKI_PCMKI_CLUSTER_QUERIES__H
12 
13 #include <glib.h> // gboolean, GMainLoop, etc.
14 
15 #include <crm/crm.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
int pcmk__pacemakerd_status(pcmk__output_t *out, const char *ipc_name, guint message_timeout_ms, enum pcmk_pacemakerd_state *state)
A dumping ground.
int pcmk__designated_controller(pcmk__output_t *out, guint message_timeout_ms)
Formatted output for pacemaker tools.
IPC commands for Pacemakerd.
IPC commands for Pacemaker controller.
pcmk_pacemakerd_state
This structure contains everything that makes up a single output formatter.
int pcmk__list_nodes(pcmk__output_t *out, char *node_types, gboolean bash_export)
int pcmk__controller_status(pcmk__output_t *out, char *dest_node, guint message_timeout_ms)