10#ifndef PCMK__CRM_CLUSTER_ELECTION_INTERNAL__H
11#define PCMK__CRM_CLUSTER_ELECTION_INTERNAL__H
16#include <libxml/tree.h>
84 const xmlNode *message,
bool can_win);
void election_vote(pcmk_cluster_t *cluster)
void election_init(pcmk_cluster_t *cluster, void(*cb)(pcmk_cluster_t *))
bool election_check(pcmk_cluster_t *cluster)
void election_reset(pcmk_cluster_t *cluster)
enum election_result election_state(const pcmk_cluster_t *cluster)
void election_clear_dampening(pcmk_cluster_t *cluster)
enum election_result election_count_vote(pcmk_cluster_t *cluster, const xmlNode *message, bool can_win)
void election_timeout_set_period(pcmk_cluster_t *cluster, guint period_ms)
void election_timeout_stop(pcmk_cluster_t *cluster)
void election_remove(pcmk_cluster_t *cluster, const char *uname)
IPC interface to Pacemaker daemons.