From 1e5b7bc6f1ad8c2d419f6e4a78b314ae3480033e Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 5 Mar 2004 05:48:28 +0000 Subject: 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 --- src/or/or.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/or.h') 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); -- cgit v1.2.3