From 9d71d97e9dc32789693df135c06574a16d1ebfea Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 19 Oct 2012 23:23:04 +0200 Subject: Document two functions. --- src/or/config.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/or') diff --git a/src/or/config.c b/src/or/config.c index b83b6f7222..b81f319206 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -5564,6 +5564,10 @@ parse_outbound_addresses(or_options_t *options, int validate_only, char **msg) return 0; } +/** Load one of the geoip files, family determining which + * one. Note that fname will be freed by this + * function. default_fname is used if on Windows and + * fname equals "". */ static void config_load_geoip_file_(sa_family_t family, char *fname, /* will be freed */ @@ -5584,6 +5588,8 @@ config_load_geoip_file_(sa_family_t family, tor_free(fname); } +/** Load geoip files for IPv4 and IPv6 if options and + * old_options indicate we should. */ static void config_maybe_load_geoip_files_(const or_options_t *options, const or_options_t *old_options) -- cgit v1.2.3-54-g00ecf