diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-25 16:13:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-25 16:13:47 -0400 |
commit | 5c86f3c297229515f125c0e06abdc689c90768f4 (patch) | |
tree | cd82f2712528adfb45ccd7d8538c545352921aec /src/feature/relay/router.h | |
parent | fcd0f76134c2e1e420b1379906955d41e8a6df66 (diff) | |
download | tor-5c86f3c297229515f125c0e06abdc689c90768f4.tar.gz tor-5c86f3c297229515f125c0e06abdc689c90768f4.zip |
Move the various _describe() functions out of router.c
Note that I haven't separated the headers yet (there's still an
Diffstat (limited to 'src/feature/relay/router.h')
-rw-r--r-- | src/feature/relay/router.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/feature/relay/router.h b/src/feature/relay/router.h index 5e342cc491..d56ddc8a1e 100644 --- a/src/feature/relay/router.h +++ b/src/feature/relay/router.h @@ -13,6 +13,7 @@ #define TOR_ROUTER_H #include "lib/testsupport/testsupport.h" +#include "feature/nodelist/describe.h" struct curve25519_keypair_t; struct ed25519_keypair_t; @@ -122,11 +123,6 @@ int is_legal_nickname(const char *s); int is_legal_nickname_or_hexdigest(const char *s); int is_legal_hexdigest(const char *s); -const char *router_describe(const routerinfo_t *ri); -const char *node_describe(const node_t *node); -const char *routerstatus_describe(const routerstatus_t *ri); -const char *extend_info_describe(const extend_info_t *ei); - const char *routerinfo_err_to_string(int err); int routerinfo_err_is_transient(int err); |