12 #ifndef TOR_VOTEFLAGS_H
13 #define TOR_VOTEFLAGS_H
15 #ifdef HAVE_MODULE_DIRAUTH
18 void dirserv_compute_bridge_flag_thresholds(
void);
19 int running_long_enough_to_decide_unreachable(
void);
32 #ifdef VOTEFLAGS_PRIVATE
35 #define DESC_IS_STALE_INTERVAL (18*60*60)
STATIC void dirserv_set_routerstatus_testing(routerstatus_t *rs)
void dirauth_set_routerstatus_from_routerinfo(routerstatus_t *rs, node_t *node, const routerinfo_t *ri, time_t now, int listbadexits)
char * dirserv_get_flag_thresholds_line(void)
void dirserv_compute_performance_thresholds(digestmap_t *omit_as_sybil)
void dirserv_set_router_is_running(routerinfo_t *router, time_t now)
void dirserv_set_bridges_running(time_t now)