15 #include <libxml/tree.h> 105 if ((
scheduler == NULL) || (node_name == NULL)) {
enum pe_quorum_policy no_quorum_policy
pcmk_node_t * pcmk_get_dc(const pcmk_scheduler_t *scheduler)
pe_quorum_policy
Possible responses to loss of quorum.
gboolean was_processing_error
pcmk_node_t * pcmk_find_node(const pcmk_scheduler_t *scheduler, const char *node_name)
Find a node by name in scheduler data.
pcmk_node_t * pcmk__find_node_in_list(const GList *nodes, const char *node_name)
bool pcmk_has_quorum(const pcmk_scheduler_t *scheduler)
#define pcmk_is_set(g, f)
Convenience alias for pcmk_all_flags_set(), to check single flag.
int pcmk_set_scheduler_cib(pcmk_scheduler_t *scheduler, xmlNode *cib)
pcmk_scheduler_t * scheduler
enum pe_quorum_policy pcmk_get_no_quorum_policy(const pcmk_scheduler_t *scheduler)
gboolean was_processing_warning