diff options
author | Roger Dingledine <arma@torproject.org> | 2013-02-12 04:25:42 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2013-02-12 04:25:42 -0500 |
commit | 178599f026d9c7575a2b790c7cb5ccfba7ba1635 (patch) | |
tree | dcc399d37ee5bc73a11ab11daceb36a97007f398 /src/or/config.h | |
parent | b166e9edb96288e8f94776b738c1dc0874a9cffa (diff) | |
download | tor-178599f026d9c7575a2b790c7cb5ccfba7ba1635.tar.gz tor-178599f026d9c7575a2b790c7cb5ccfba7ba1635.zip |
get rid of the new caching notion in resolve_my_address()
and replace it with the good old-fashioned two functions approach
Diffstat (limited to 'src/or/config.h')
-rw-r--r-- | src/or/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.h b/src/or/config.h index 7ec52e39db..ef4acac514 100644 --- a/src/or/config.h +++ b/src/or/config.h @@ -26,10 +26,10 @@ const char *get_short_version(void); setopt_err_t options_trial_assign(config_line_t *list, int use_defaults, int clear_first, char **msg); +uint32_t get_last_resolved_addr(void); int resolve_my_address(int warn_severity, const or_options_t *options, uint32_t *addr_out, - const char **method_out, char **hostname_out, - int use_cached_addr); + const char **method_out, char **hostname_out); int is_local_addr(const tor_addr_t *addr); void options_init(or_options_t *options); char *options_dump(const or_options_t *options, int minimal); |