From ae46b6b077443eae66a530bfa41537b66e4aa863 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 18 Aug 2004 21:56:45 +0000 Subject: [PATCH] Fix some DOCDOCs svn:r2295 --- src/or/config.c | 5 ++++- 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 963b4a2746..1533858610 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 dest. 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 f434dcd660..c54097782e 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 router */ -/* XXX008 NICK DOCDOC: there is no router */ +/** 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) {