diff options
author | Ola Bini <ola@olabini.se> | 2015-09-15 16:21:50 +0200 |
---|---|---|
committer | Ola Bini <ola@olabini.se> | 2015-09-15 16:21:50 +0200 |
commit | ade5005853c17b3ae5923c194680442e0f86db4d (patch) | |
tree | 5f49844c3e2062b99468fb2d2d0a4bf5224d6b58 /src/or/routerlist.h | |
parent | a444b11323799536b4cd7902e29f711b0806293a (diff) | |
download | tor-ade5005853c17b3ae5923c194680442e0f86db4d.tar.gz tor-ade5005853c17b3ae5923c194680442e0f86db4d.zip |
Add tests for the rend cache
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r-- | src/or/routerlist.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h index 200533fe91..ec09f234a5 100644 --- a/src/or/routerlist.h +++ b/src/or/routerlist.h @@ -201,7 +201,7 @@ void refresh_all_country_info(void); int hid_serv_get_responsible_directories(smartlist_t *responsible_dirs, const char *id); int hid_serv_acting_as_directory(void); -int hid_serv_responsible_for_desc_id(const char *id); +MOCK_DECL(int, hid_serv_responsible_for_desc_id, (const char *id)); void list_pending_microdesc_downloads(digest256map_t *result); void launch_descriptor_downloads(int purpose, @@ -243,4 +243,3 @@ MOCK_DECL(STATIC void, initiate_descriptor_downloads, #endif #endif - |