summaryrefslogtreecommitdiff
path: root/src/feature/dircache/dirserv.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-01-08 21:32:16 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-16 07:48:17 -0500
commitfe8156dbc20870bb2e065aa10ca7f2e993958597 (patch)
treea6e236661be627cefe295e902f164fc54fa84540 /src/feature/dircache/dirserv.h
parent4cf15ee015b8e4228a8d817cb54067853bf38378 (diff)
downloadtor-fe8156dbc20870bb2e065aa10ca7f2e993958597.tar.gz
tor-fe8156dbc20870bb2e065aa10ca7f2e993958597.zip
Move dirserv_get_routerdescs() to control_getinfo.c
This function had some XXX comments indicating (correctly) that it was not actually used by the dirserver code, and that only the controller still used it.
Diffstat (limited to 'src/feature/dircache/dirserv.h')
-rw-r--r--src/feature/dircache/dirserv.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/feature/dircache/dirserv.h b/src/feature/dircache/dirserv.h
index a4e10dd166..895cef9484 100644
--- a/src/feature/dircache/dirserv.h
+++ b/src/feature/dircache/dirserv.h
@@ -101,8 +101,6 @@ int dirserv_get_routerdesc_spool(smartlist_t *spools_out, const char *key,
dir_spool_source_t source,
int conn_is_encrypted,
const char **msg_out);
-int dirserv_get_routerdescs(smartlist_t *descs_out, const char *key,
- const char **msg);
void dirserv_free_all(void);
void cached_dir_decref(cached_dir_t *d);