diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-08-18 21:56:45 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-08-18 21:56:45 +0000 |
commit | ae46b6b077443eae66a530bfa41537b66e4aa863 (patch) | |
tree | 3bd1d253eca9bc90119d180716c89b8f13fb0815 /src | |
parent | cf6159abb98ea968d6aa732ba9678dbfdfac7156 (diff) | |
download | tor-ae46b6b077443eae66a530bfa41537b66e4aa863.tar tor-ae46b6b077443eae66a530bfa41537b66e4aa863.tar.gz |
Fix some DOCDOCs
svn:r2295
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 5 | ||||
-rw-r--r-- | src/or/routerparse.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/or/config.c b/src/or/config.c index 963b4a274..153385861 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -988,7 +988,10 @@ int config_init_logs(or_options_t *options) return 0; } -/** XXX008 DOCDOC */ +/** + * Given a linked list of config lines containing "allow" and "deny" tokens, + * parse them and place the result in <b>dest</b>. Skip malformed lines. + */ void config_parse_exit_policy(struct config_line_t *cfg, struct exit_policy_t **dest) diff --git a/src/or/routerparse.c b/src/or/routerparse.c index f434dcd66..c54097782 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -906,9 +906,8 @@ static int router_add_exit_policy(routerinfo_t *router,directory_token_t *tok) return 0; } -/** Given a K_ACCEPT or K_REJECT token and a router, create a new exit_policy_t - * corresponding to the token, and add it to <b>router</b> */ -/* XXX008 NICK DOCDOC: there is no <b>router</b> */ +/** Given a K_ACCEPT or K_REJECT token and a router, create and return + * a new exit_policy_t corresponding to the token. */ static struct exit_policy_t * router_parse_exit_policy(directory_token_t *tok) { |