pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Functions
pcmki_cluster_queries.h File Reference
#include <stdbool.h>
#include <stdint.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, bool 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 460 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 530 of file pcmk_cluster_queries.c.

◆ pcmk__list_nodes()

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

Definition at line 829 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 738 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 617 of file pcmk_cluster_queries.c.