aboutsummaryrefslogtreecommitdiff
path: root/src/or/addressmap.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-25 13:45:36 -0500
committerNick Mathewson <nickm@torproject.org>2012-12-17 14:48:09 -0500
commit7536c40e9641a0724f0c9e6f994306d762d37e4d (patch)
tree318ef1876d8568003dd4466cd8dca4f71b68ae85 /src/or/addressmap.h
parentf33487668f16dbd7f95eaf8644865c28e1dd7036 (diff)
downloadtor-7536c40e9641a0724f0c9e6f994306d762d37e4d.tar.gz
tor-7536c40e9641a0724f0c9e6f994306d762d37e4d.zip
Implement option to turn off DNS cache modification by a client port
(This is part 3 of making DNS cache use enabled/disabled on a per-client port basis. This implements the UseCacheIPv[46]DNS options)
Diffstat (limited to 'src/or/addressmap.h')
-rw-r--r--src/or/addressmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/addressmap.h b/src/or/addressmap.h
index 54b3e0ae7c..0c73201f39 100644
--- a/src/or/addressmap.h
+++ b/src/or/addressmap.h
@@ -31,7 +31,7 @@ int parse_virtual_addr_network(const char *val, int validate_only,
char **msg);
int client_dns_incr_failures(const char *address);
void client_dns_clear_failures(const char *address);
-void client_dns_set_addressmap(origin_circuit_t *on_circ,
+void client_dns_set_addressmap(entry_connection_t *for_conn,
const char *address, const tor_addr_t *val,
const char *exitname, int ttl);
const char *addressmap_register_virtual_address(int type, char *new_address);
@@ -39,7 +39,7 @@ void addressmap_get_mappings(smartlist_t *sl, time_t min_expires,
time_t max_expires, int want_expiry);
int address_is_in_virtual_range(const char *addr);
void clear_trackexithost_mappings(const char *exitname);
-void client_dns_set_reverse_addressmap(origin_circuit_t *on_circ,
+void client_dns_set_reverse_addressmap(entry_connection_t *for_conn,
const char *address, const char *v,
const char *exitname, int ttl);