aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-05-08 12:32:30 +0000
committerNick Mathewson <nickm@torproject.org>2003-05-08 12:32:30 +0000
commit1d1f46e40dbcdc98022a568dc5aa5a73060eaedc (patch)
tree1f5148bf291b4f89ec259117789124ba542bf854 /src/or/or.h
parentc3998e94f9175f588bad98fa70d674136b617212 (diff)
downloadtor-1d1f46e40dbcdc98022a568dc5aa5a73060eaedc.tar
tor-1d1f46e40dbcdc98022a568dc5aa5a73060eaedc.tar.gz
(possibly incorrect) code to make routers get resolved when they're
inserted into the directory. Roger: If you can answer the question with your name on it, you may prevent a segfault before it happens. :) svn:r277
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 98971dcad..cf16c22e6 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -798,6 +798,8 @@ int router_is_me(uint32_t addr, uint16_t port);
void router_forget_router(uint32_t addr, uint16_t port);
int router_get_list_from_file(char *routerfile);
int router_resolve(routerinfo_t *router);
+int router_resolve_directory(directory_t *dir);
+
/* Reads a list of known routers, unsigned. */
int router_get_list_from_string(char *s);
/* Exported for debugging */