aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-03-05 05:48:28 +0000
committerNick Mathewson <nickm@torproject.org>2004-03-05 05:48:28 +0000
commit1e5b7bc6f1ad8c2d419f6e4a78b314ae3480033e (patch)
treeeb2889cf9c99e615753d476a3bf6b5f4b421a421 /src/or/or.h
parent9d00c4b81cb29f0c50c534696d7886b2d891805a (diff)
downloadtor-1e5b7bc6f1ad8c2d419f6e4a78b314ae3480033e.tar
tor-1e5b7bc6f1ad8c2d419f6e4a78b314ae3480033e.tar.gz
New, more flexible directory parsing backend. Uses a bit more RAM, but implements the new spec. Uses more RAM, but not so you would notice.
svn:r1235
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index ffae156f0..84439a334 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -860,7 +860,7 @@ int router_set_routerlist_from_string(const char *s);
int router_get_dir_hash(const char *s, char *digest);
int router_get_router_hash(const char *s, char *digest);
int router_set_routerlist_from_directory(const char *s, crypto_pk_env_t *pkey);
-routerinfo_t *router_get_entry_from_string(const char **s);
+routerinfo_t *router_get_entry_from_string(const char *s, const char *end);
int router_add_exit_policy_from_string(routerinfo_t *router, const char *s);
int router_compare_addr_to_exit_policy(uint32_t addr, uint16_t port,
struct exit_policy_t *policy);