diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-09-25 21:06:32 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-09-25 21:06:32 +0000 |
commit | 02c71a7eb4ddbe3841a7b804a99b7b509e05a9d9 (patch) | |
tree | b86dd38756044645f158c157a2b5279289198739 /src/or/or.h | |
parent | e06f140f978cb95c3f4655f24ccdf1753a04d230 (diff) | |
download | tor-02c71a7eb4ddbe3841a7b804a99b7b509e05a9d9.tar.gz tor-02c71a7eb4ddbe3841a7b804a99b7b509e05a9d9.zip |
Widen the conditions under which we whine about not having a geoip file to include "a country code was configured in a node list."
svn:r16968
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index da1be00142..d21b30e5c6 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2837,6 +2837,7 @@ char *options_get_datadir_fname2_suffix(or_options_t *options, or_state_t *get_or_state(void); int or_state_save(time_t now); +int options_need_geoip_info(or_options_t *options, const char **reason_out); int getinfo_helper_config(control_connection_t *conn, const char *question, char **answer); @@ -4294,6 +4295,7 @@ int routerset_parse(routerset_t *target, const char *s, const char *description); void routerset_union(routerset_t *target, const routerset_t *source); int routerset_is_list(const routerset_t *set); +int routerset_needs_geoip(const routerset_t *set); int routerset_contains_router(const routerset_t *set, routerinfo_t *ri); int routerset_contains_routerstatus(const routerset_t *set, routerstatus_t *rs); |