aboutsummaryrefslogtreecommitdiff
path: root/src/or/nodelist.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-02-08 14:35:22 -0500
committerDavid Goulet <dgoulet@torproject.org>2018-02-08 16:56:05 -0500
commita445327b80478c72093d8f1b0e205a279318f651 (patch)
treef75d99e7a05bc54cea6a20a8b5137563afe13ef7 /src/or/nodelist.h
parent6892d3292121d02900ac9968e832353ecacca4ad (diff)
downloadtor-a445327b80478c72093d8f1b0e205a279318f651.tar.gz
tor-a445327b80478c72093d8f1b0e205a279318f651.zip
test: Add unit tests for addressset.c
This also adds one that tests the integration with the nodelist. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/nodelist.h')
-rw-r--r--src/or/nodelist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/nodelist.h b/src/or/nodelist.h
index 355057f398..098f1d1555 100644
--- a/src/or/nodelist.h
+++ b/src/or/nodelist.h
@@ -125,5 +125,7 @@ void router_dir_info_changed(void);
const char *get_dir_info_status_string(void);
int count_loading_descriptors_progress(void);
+MOCK_DECL(int, get_estimated_address_per_node, (void));
+
#endif