diff options
Diffstat (limited to 'src/or/policies.h')
-rw-r--r-- | src/or/policies.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/policies.h b/src/or/policies.h index acc254da3c..5c1113e75a 100644 --- a/src/or/policies.h +++ b/src/or/policies.h @@ -63,5 +63,12 @@ void policies_free_all(void); char *policy_summarize(smartlist_t *policy); +short_policy_t *parse_short_policy(const char *summary); +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( + const tor_addr_t *addr, uint16_t port, + const short_policy_t *policy); + #endif |