pacemaker  2.1.6-802a72226b
Scalable High-Availability cluster resource manager
Functions
pcmki_cluster_queries.h File Reference
#include <glib.h>
#include <crm/crm.h>
#include <crm/common/output_internal.h>
#include <crm/common/ipc_controld.h>
#include <crm/common/ipc_pacemakerd.h>
Include dependency graph for pcmki_cluster_queries.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int pcmk__list_nodes (pcmk__output_t *out, const char *node_types, gboolean bash_export)
 
int pcmk__controller_status (pcmk__output_t *out, const char *node_name, unsigned int message_timeout_ms)
 
int pcmk__designated_controller (pcmk__output_t *out, 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)
 
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)
 

Function Documentation

◆ pcmk__controller_status()

int pcmk__controller_status ( pcmk__output_t out,
const char *  node_name,
unsigned int  message_timeout_ms 
)

Definition at line 459 of file pcmk_cluster_queries.c.

◆ pcmk__designated_controller()

int pcmk__designated_controller ( pcmk__output_t out,
unsigned int  message_timeout_ms 
)

Definition at line 529 of file pcmk_cluster_queries.c.

◆ pcmk__list_nodes()

int pcmk__list_nodes ( pcmk__output_t out,
const char *  node_types,
gboolean  bash_export 
)

Definition at line 830 of file pcmk_cluster_queries.c.

◆ pcmk__pacemakerd_status()

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 
)

Definition at line 737 of file pcmk_cluster_queries.c.

◆ pcmk__query_node_info()

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 
)

Definition at line 616 of file pcmk_cluster_queries.c.