From e24d540d818a0474493ebad2c9ceec3fd755f2c0 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 26 Aug 2005 21:28:16 +0000 Subject: We no longer need dirserv_load_from_directory_string, so dirserv_add_descriptor no longer has to keep track of where each descriptor ends. svn:r4861 --- src/or/or.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/or/or.h') diff --git a/src/or/or.h b/src/or/or.h index 9180a61cf..eb699afdd 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1628,9 +1628,8 @@ int dirserv_parse_fingerprint_file(const char *fname); int dirserv_router_fingerprint_is_known(const routerinfo_t *router); void dirserv_free_fingerprint_list(void); const char *dirserv_get_nickname_by_digest(const char *digest); -int dirserv_add_descriptor(const char **desc, const char **msg); +int dirserv_add_descriptor(const char *desc, const char **msg); char *dirserver_getinfo_unregistered(const char *question); -int dirserv_load_from_directory_string(const char *dir); void dirserv_free_descriptors(void); int list_server_status(smartlist_t *routers, char **router_status_out); void dirserv_log_unreachable_servers(time_t now); -- cgit v1.2.3