diff options
author | rl1987 <nobody@nowhere.int> | 2013-08-23 21:06:42 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-04-08 13:50:02 -0400 |
commit | 51e13cd1ad5f7c130521e2a964ea462f35d1880e (patch) | |
tree | c7f5cbaf837e96d0bb60f351e67aa724f0f9cdfe /src/or/router.h | |
parent | 77e4a01f12cc127022df16922fbe526bfc5824d9 (diff) | |
download | tor-51e13cd1ad5f7c130521e2a964ea462f35d1880e.tar.gz tor-51e13cd1ad5f7c130521e2a964ea462f35d1880e.zip |
Making entire exit policy available to Tor controller.
Diffstat (limited to 'src/or/router.h')
-rw-r--r-- | src/or/router.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/router.h b/src/or/router.h index 1079ec78c2..150d107aea 100644 --- a/src/or/router.h +++ b/src/or/router.h @@ -97,6 +97,9 @@ int router_pick_published_address(const or_options_t *options, uint32_t *addr); int router_rebuild_descriptor(int force); char *router_dump_router_to_string(routerinfo_t *router, crypto_pk_t *ident_key); +char *router_dump_exit_policy_to_string(const routerinfo_t *router, + int include_ipv4, + int include_ipv6); void router_get_prim_orport(const routerinfo_t *router, tor_addr_port_t *addr_port_out); void router_get_pref_orport(const routerinfo_t *router, |