summaryrefslogtreecommitdiff
path: root/src/or/addressmap.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-25 14:31:35 -0500
committerNick Mathewson <nickm@torproject.org>2012-12-17 14:50:55 -0500
commit963b3d15492c6cda3feac6efcff768913352ac2c (patch)
treecb64e60f1151894ce8971ce1ff16f57916e7e3f6 /src/or/addressmap.h
parent88d7312ff29cda982f928caf3ddab4df189b245c (diff)
downloadtor-963b3d15492c6cda3feac6efcff768913352ac2c.tar.gz
tor-963b3d15492c6cda3feac6efcff768913352ac2c.zip
Refactor the code to check if an address is matched by automapsuffixes
Diffstat (limited to 'src/or/addressmap.h')
-rw-r--r--src/or/addressmap.h2
1 files changed, 2 insertions, 0 deletions
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