aboutsummaryrefslogtreecommitdiff
path: root/src/or/policies.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-01 14:58:29 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-01 15:20:37 -0400
commit13116378b1a8118e277320e377a691064e54983a (patch)
tree2189b9557d1162d93ae3f1e11c85e6929bc9b9ad /src/or/policies.h
parent986d761510c4e5070cbdf8879f49342b7b1350c1 (diff)
downloadtor-13116378b1a8118e277320e377a691064e54983a.tar.gz
tor-13116378b1a8118e277320e377a691064e54983a.zip
Extract or_options_t from or.h
I decided to have this file included from config.h, though, since it is used nearly everywhere.
Diffstat (limited to 'src/or/policies.h')
-rw-r--r--src/or/policies.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/policies.h b/src/or/policies.h
index ff0b54499c..7da3ba031f 100644
--- a/src/or/policies.h
+++ b/src/or/policies.h
@@ -121,6 +121,7 @@ int policies_parse_exit_policy_from_options(
uint32_t local_address,
const tor_addr_t *ipv6_local_address,
smartlist_t **result);
+struct config_line_t;
int policies_parse_exit_policy(struct config_line_t *cfg, smartlist_t **dest,
exit_policy_parser_cfg_t options,
const smartlist_t *configured_addresses);