From 963b3d15492c6cda3feac6efcff768913352ac2c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 25 Nov 2012 14:31:35 -0500 Subject: Refactor the code to check if an address is matched by automapsuffixes --- src/or/addressmap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/or/addressmap.h') diff --git a/src/or/addressmap.h b/src/or/addressmap.h index 0c73201f39..4534fffb94 100644 --- a/src/or/addressmap.h +++ b/src/or/addressmap.h @@ -42,6 +42,8 @@ void clear_trackexithost_mappings(const char *exitname); void client_dns_set_reverse_addressmap(entry_connection_t *for_conn, const char *address, const char *v, const char *exitname, int ttl); +int addressmap_address_should_automap(const char *address, + const or_options_t *options); #endif -- cgit v1.2.3-54-g00ecf