summaryrefslogtreecommitdiff
path: root/src/feature/relay/router.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-25 16:13:47 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-25 16:13:47 -0400
commit5c86f3c297229515f125c0e06abdc689c90768f4 (patch)
treecd82f2712528adfb45ccd7d8538c545352921aec /src/feature/relay/router.h
parentfcd0f76134c2e1e420b1379906955d41e8a6df66 (diff)
downloadtor-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.h6
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);