diff options
author | Roger Dingledine <arma@torproject.org> | 2004-02-26 21:25:51 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-02-26 21:25:51 +0000 |
commit | 0b27ae0c2ded4a45e59d8b75d4dc8edc6a68db84 (patch) | |
tree | fd32c3b66b7fce64b44d4147e5e735ad9f17e6df /src/or/or.h | |
parent | 496e414e5208fe4c196a645e2f64ba712d893f6e (diff) | |
download | tor-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.h | 1 |
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); |