18 #ifndef CRM_COMMON_ElECTION__H
19 # define CRM_COMMON_ElECTION__H
bool election_check(election_t *e)
enum election_result election_count_vote(election_t *e, xmlNode *vote, bool can_win)
void election_remove(election_t *e, const char *uname)
void election_fini(election_t *e)
void election_vote(election_t *e)
struct election_s election_t
enum election_result election_state(election_t *e)
election_t * election_init(const char *name, const char *uname, guint period_ms, GSourceFunc cb)
void election_timeout_stop(election_t *e)
void election_reset(election_t *e)
void election_timeout_set_period(election_t *e, guint period_ms)