aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/bwauth.h
diff options
context:
space:
mode:
authorjuga0 <juga@riseup.net>2018-11-06 14:49:20 +0000
committerjuga0 <juga@riseup.net>2019-02-13 12:26:00 +0000
commitfc3e90a7b64714f30c19572900523078e8e7c0d6 (patch)
tree9116ffebd2794c72bbf908c69c1c1a1d51f0e374 /src/feature/dirauth/bwauth.h
parentc320c52e89d0d950f0316d2c2f070f7adca66c80 (diff)
downloadtor-fc3e90a7b64714f30c19572900523078e8e7c0d6.tar.gz
tor-fc3e90a7b64714f30c19572900523078e8e7c0d6.zip
bwauth: Add function to get the digest of a bw file
Diffstat (limited to 'src/feature/dirauth/bwauth.h')
-rw-r--r--src/feature/dirauth/bwauth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/dirauth/bwauth.h b/src/feature/dirauth/bwauth.h
index 4507728458..8b7acc4a1c 100644
--- a/src/feature/dirauth/bwauth.h
+++ b/src/feature/dirauth/bwauth.h
@@ -21,8 +21,8 @@
int dirserv_read_measured_bandwidths(const char *from_file,
smartlist_t *routerstatuses,
- smartlist_t *bw_file_headers);
-
+ smartlist_t *bw_file_headers,
+ uint8_t *digest_out);
int dirserv_query_measured_bw_cache_kb(const char *node_id,
long *bw_out,
time_t *as_of_out);