diff options
author | Roger Dingledine <arma@torproject.org> | 2012-10-22 17:09:43 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2012-10-22 17:09:43 -0400 |
commit | 4c8b58f9005b7a187878273b8ff0f8ec23e86326 (patch) | |
tree | 07dac5f06df0d3a1b0aa69fc3e28a4e2f3cd1adf /src/or/policies.h | |
parent | 1cc06bd35e4203569ecc72ff314a1dd543f60651 (diff) | |
download | tor-4c8b58f9005b7a187878273b8ff0f8ec23e86326.tar.gz tor-4c8b58f9005b7a187878273b8ff0f8ec23e86326.zip |
add a unit test to expose bug 7192
Diffstat (limited to 'src/or/policies.h')
-rw-r--r-- | src/or/policies.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/policies.h b/src/or/policies.h index 31f3f06c7d..b385d8e490 100644 --- a/src/or/policies.h +++ b/src/or/policies.h @@ -61,6 +61,7 @@ void policies_free_all(void); char *policy_summarize(smartlist_t *policy); short_policy_t *parse_short_policy(const char *summary); +const char *write_short_policy(const short_policy_t *policy); void short_policy_free(short_policy_t *policy); int short_policy_is_reject_star(const short_policy_t *policy); addr_policy_result_t compare_tor_addr_to_short_policy( |