aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-02-26 21:25:51 +0000
committerRoger Dingledine <arma@torproject.org>2004-02-26 21:25:51 +0000
commit0b27ae0c2ded4a45e59d8b75d4dc8edc6a68db84 (patch)
treefd32c3b66b7fce64b44d4147e5e735ad9f17e6df /src/or/or.h
parent496e414e5208fe4c196a645e2f64ba712d893f6e (diff)
downloadtor-0b27ae0c2ded4a45e59d8b75d4dc8edc6a68db84.tar
tor-0b27ae0c2ded4a45e59d8b75d4dc8edc6a68db84.tar.gz
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
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h1
1 files changed, 1 insertions, 0 deletions
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);