Searched defs:election_s (Results 1 – 2 of 2) sorted by relevance
25 struct election_s { struct26 enum election_result state;27 guint count; // How many times local node has voted28 char *name; // Descriptive name for this election29 char *uname; // Local node's name30 GSourceFunc cb; // Function to call if election is won31 GHashTable *voted; // Key = node name, value = how node voted33 int election_wins; // Track wins, for storm detection34 bool wrote_blackbox; // Write a storm blackbox at most once35 time_t expires; // When storm detection period ends[all …]
23 struct election_s { struct24 enum election_result state;25 guint count; // How many times local node has voted26 char *name; // Descriptive name for this election27 char *uname; // Local node's name28 GSourceFunc cb; // Function to call if election is won29 GHashTable *voted; // Key = node name, value = how node voted31 int election_wins; // Track wins, for storm detection32 bool wrote_blackbox; // Write a storm blackbox at most once33 time_t expires; // When storm detection period ends[all …]