diff options
Diffstat (limited to 'src/or/addressmap.h')
-rw-r--r-- | src/or/addressmap.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/addressmap.h b/src/or/addressmap.h index 911c7ac299..dd8fc9bcfc 100644 --- a/src/or/addressmap.h +++ b/src/or/addressmap.h @@ -28,14 +28,16 @@ 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(const char *address, uint32_t val, +void client_dns_set_addressmap(origin_circuit_t *on_circ, + const char *address, uint32_t val, const char *exitname, int ttl); const char *addressmap_register_virtual_address(int type, char *new_address); 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(const char *address, const char *v, +void client_dns_set_reverse_addressmap(origin_circuit_t *on_circ, + const char *address, const char *v, const char *exitname, int ttl); #endif |