diff options
author | Andrea Shepard <andrea@torproject.org> | 2013-03-18 11:56:42 -0700 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2013-03-18 11:56:42 -0700 |
commit | d64e5969f470a18fe15a6a2863cf4b2b59b1bd27 (patch) | |
tree | e10bb348d3e7660f5e9ccaf2ce69a40a50b78c03 /src/or/dirserv.h | |
parent | f93f7e331be94114d82c17108e741eb2482e6bda (diff) | |
download | tor-d64e5969f470a18fe15a6a2863cf4b2b59b1bd27.tar.gz tor-d64e5969f470a18fe15a6a2863cf4b2b59b1bd27.zip |
Add dirserv_has_measured_bw() predicate wrapper for dirserv_query_measured_bw_cache()
Diffstat (limited to 'src/or/dirserv.h')
-rw-r--r-- | src/or/dirserv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dirserv.h b/src/or/dirserv.h index 887a4992ed..8728a0b700 100644 --- a/src/or/dirserv.h +++ b/src/or/dirserv.h @@ -154,6 +154,7 @@ void dirserv_expire_measured_bw_cache(time_t now); int dirserv_get_measured_bw_cache_size(void); int dirserv_query_measured_bw_cache(const char *node_id, long *bw_out, time_t *as_of_out); +int dirserv_has_measured_bw(const char *node_id); #endif int dirserv_read_measured_bandwidths(const char *from_file, |