From 0b27ae0c2ded4a45e59d8b75d4dc8edc6a68db84 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 26 Feb 2004 21:25:51 +0000 Subject: if the default torrc isn't there, just use some default defaults plus provide an internal dirservers file if they don't have one having no config files will make it easier to run on windows svn:r1124 --- src/or/or.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/or.h') diff --git a/src/or/or.h b/src/or/or.h index 5ebe9ffb4..998fb7fc9 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -810,6 +810,7 @@ void router_get_routerlist(routerlist_t **prouterlist); void routerinfo_free(routerinfo_t *router); void router_mark_as_down(char *nickname); int router_set_routerlist_from_file(char *routerfile); +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); -- cgit v1.2.3