diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-11-05 19:23:57 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-11-05 19:23:57 +0000 |
commit | 42f7ae3eaeb3d0f1067234f3acf9c0f0f4e6cf1a (patch) | |
tree | 037ca463c31abe2bd69823238ae1c6e278fe283a /src/or/or.h | |
parent | dec5fcd611e9865a4751379035c2bad4e57eb5e8 (diff) | |
download | tor-42f7ae3eaeb3d0f1067234f3acf9c0f0f4e6cf1a.tar tor-42f7ae3eaeb3d0f1067234f3acf9c0f0f4e6cf1a.tar.gz |
r16435@catbus: nickm | 2007-11-05 14:23:07 -0500
Patch from karsten: tidy up v2 hidden service directory logic, and fix a few bugs.
svn:r12388
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/or/or.h b/src/or/or.h index 8dd6dc806..a054e24df 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3815,15 +3815,12 @@ void routerlist_assert_ok(routerlist_t *rl); const char *esc_router_info(routerinfo_t *router); void routers_sort_by_identity(smartlist_t *routers); -smartlist_t *hid_serv_create_routing_table_st(void); -int hid_serv_have_enough_directories(const smartlist_t *hs_dirs); +int hid_serv_have_enough_directories(void); int hid_serv_get_responsible_directories(smartlist_t *responsible_dirs, const char *id); #if 0 -routerinfo_t *hid_serv_next_directory(const char *id, - const smartlist_t *hs_dirs); -routerinfo_t *hid_serv_previous_directory(const char *id, - const smartlist_t *hs_dirs); +routerstatus_t *hid_serv_next_directory(const char *id); +routerstatus_t *hid_serv_previous_directory(const char *id); #endif int hid_serv_acting_as_directory(void); int hid_serv_responsible_for_desc_id(const char *id); |