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)
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) {