]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix some DOCDOCs
authorNick Mathewson <nickm@torproject.org>
Wed, 18 Aug 2004 21:56:45 +0000 (21:56 +0000)
committerNick Mathewson <nickm@torproject.org>
Wed, 18 Aug 2004 21:56:45 +0000 (21:56 +0000)
svn:r2295

src/or/config.c
src/or/routerparse.c

index 963b4a2746ef174bfa309b68e85c9e147f19fdf5..15338586103d2b49086dbe5465a35fe7055da7a4 100644 (file)
@@ -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)
index f434dcd660dbb256c414fc5aad0e6045c6915c33..c54097782e94d6ea66176478bd57248d5c19fadc 100644 (file)
@@ -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) {