summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-06-01 18:19:01 +0000
committerNick Mathewson <nickm@torproject.org>2004-06-01 18:19:01 +0000
commit94782444f80f483bafebf537b059f2d8a8e0cdd2 (patch)
treed7e0c5af0a66f2b9176b2366d18eec2deeb26f5d /src/or/or.h
parent74f611581ef992e8657c989883956d5a352b8965 (diff)
downloadtor-94782444f80f483bafebf537b059f2d8a8e0cdd2.tar.gz
tor-94782444f80f483bafebf537b059f2d8a8e0cdd2.zip
Check recommended-software string *early*, before actually parsing the directory.
svn:r1930
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 6c4c5eff75..eb9ee85a5a 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1334,6 +1334,9 @@ int router_parse_routerlist_from_directory(const char *s,
routerinfo_t *router_parse_entry_from_string(const char *s, const char *end);
int router_add_exit_policy_from_string(routerinfo_t *router, const char *s);
struct exit_policy_t *router_parse_exit_policy_from_string(const char *s);
+int check_software_version_against_directory(const char *directory,
+ int ignoreversion);
+
#endif