summaryrefslogtreecommitdiff
path: root/src/or/policies.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-02-22 14:10:42 -0500
committerNick Mathewson <nickm@torproject.org>2011-02-22 14:10:42 -0500
commitb7f201f74606aff1f77551449bebe8783a59733a (patch)
tree70ac808a443977ca797e24dafcbda2705e9e9e4f /src/or/policies.h
parent46b07462ae636eae1e241d5596b3a1d80c82d7ef (diff)
parentcdc59c198a15195a113d68b2c4fbb270792da533 (diff)
downloadtor-b7f201f74606aff1f77551449bebe8783a59733a.tar.gz
tor-b7f201f74606aff1f77551449bebe8783a59733a.zip
Merge remote branch 'origin/maint-0.2.2'
Conflicts: src/or/policies.c src/or/policies.h
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 371123c1e8..ee1162ccc2 100644
--- a/src/or/policies.h
+++ b/src/or/policies.h
@@ -48,6 +48,7 @@ addr_policy_result_t compare_tor_addr_to_node_policy(const tor_addr_t *addr,
int policies_parse_exit_policy(config_line_t *cfg, smartlist_t **dest,
int rejectprivate, const char *local_address,
int add_default_policy);
+void policies_exit_policy_append_reject_star(smartlist_t **dest);
void policies_set_node_exitpolicy_to_reject_all(node_t *exitrouter);
int exit_policy_is_general_exit(smartlist_t *policy);
int policy_is_reject_star(const smartlist_t *policy);