diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-05-08 12:32:30 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-05-08 12:32:30 +0000 |
commit | 1d1f46e40dbcdc98022a568dc5aa5a73060eaedc (patch) | |
tree | 1f5148bf291b4f89ec259117789124ba542bf854 /src/or/or.h | |
parent | c3998e94f9175f588bad98fa70d674136b617212 (diff) | |
download | tor-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.h | 2 |
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 */ |