diff options
author | Roger Dingledine <arma@torproject.org> | 2003-12-06 06:01:42 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-12-06 06:01:42 +0000 |
commit | 6a968495b1a41902f3abbfc00efcb83871ac62be (patch) | |
tree | 89d66c7fd9469713a4507d769e4cab7d41ef1f0b /src/or/routerlist.c | |
parent | c25fbd2676137db8d94da39e98dba3a88b971727 (diff) | |
download | tor-6a968495b1a41902f3abbfc00efcb83871ac62be.tar.gz tor-6a968495b1a41902f3abbfc00efcb83871ac62be.zip |
declare the prototypes better
svn:r888
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index db35c79640..d8aefcbc27 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -25,7 +25,14 @@ struct directory_token; typedef struct directory_token directory_token_t; /* static function prototypes */ -static int router_add_exit_policy_from_string(routerinfo_t *router, char *s); +static int router_set_routerlist_from_string(char *s); +static int +router_get_list_from_string_impl(char **s, routerlist_t **dest, + int n_good_nicknames, + const char **good_nickname_lst); +static int +router_get_routerlist_from_directory_impl(char *s, routerlist_t **dest, + crypto_pk_env_t *pkey); static int router_add_exit_policy(routerinfo_t *router, directory_token_t *tok); static int router_resolve_routerlist(routerlist_t *dir); |