diff options
author | Roger Dingledine <arma@torproject.org> | 2013-02-11 17:09:10 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2013-02-11 17:09:10 -0500 |
commit | cc896f7c84c221d7dcfff1e0155533dce3ac5518 (patch) | |
tree | 55ff5874885e1208f15f728274fa80694897a45c /src/or/config.h | |
parent | 719940df2bdfbd0f5ee02a9ca404f345d2fc49e8 (diff) | |
download | tor-cc896f7c84c221d7dcfff1e0155533dce3ac5518.tar.gz tor-cc896f7c84c221d7dcfff1e0155533dce3ac5518.zip |
Teach resolve_my_address() to return a cached answer
I didn't make any of the callers use this feature yet.
Diffstat (limited to 'src/or/config.h')
-rw-r--r-- | src/or/config.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/config.h b/src/or/config.h index e0748a07bf..7ec52e39db 100644 --- a/src/or/config.h +++ b/src/or/config.h @@ -28,7 +28,8 @@ setopt_err_t options_trial_assign(config_line_t *list, int use_defaults, int resolve_my_address(int warn_severity, const or_options_t *options, uint32_t *addr_out, - const char **method_out, char **hostname_out); + const char **method_out, char **hostname_out, + int use_cached_addr); 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); |