aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2013-02-11 17:09:10 -0500
committerRoger Dingledine <arma@torproject.org>2013-02-11 17:09:10 -0500
commitcc896f7c84c221d7dcfff1e0155533dce3ac5518 (patch)
tree55ff5874885e1208f15f728274fa80694897a45c /src/or/config.h
parent719940df2bdfbd0f5ee02a9ca404f345d2fc49e8 (diff)
downloadtor-cc896f7c84c221d7dcfff1e0155533dce3ac5518.tar
tor-cc896f7c84c221d7dcfff1e0155533dce3ac5518.tar.gz
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/config.h b/src/or/config.h
index e0748a07b..7ec52e39d 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);