crypt_path_t *layer_hint);
static int circuit_queue_streams_are_blocked(circuit_t *circ);
+/* XXXX023 move this all to compat_libevent */
/** Cache the current hi-res time; the cache gets reset when libevent
* calls us. */
-
static struct timeval cached_time_hires = {0, 0};
/** Stop reading on edge connections when we have this many cells
void
tor_gettimeofday_cache_clear(void)
{
- cached_time_hires.tv_sec = 0;
+ cached_time_hires.tv_sec = 0;
}
/** Stats: how many relay cells have originated at this hop, or have
networkstatus_t *consensus);
void circuit_clear_cell_queue(circuit_t *circ, or_connection_t *orconn);
+void tor_gettimeofday_cache_clear(void);
+
#endif
size_t intro_points_encoded_size);
int rend_parse_client_keys(strmap_t *parsed_clients, const char *str);
-void tor_gettimeofday_cache_clear(void);
-
#endif