summaryrefslogtreecommitdiff
path: root/src/or/routerparse.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-02-15 07:48:42 -0500
committerNick Mathewson <nickm@torproject.org>2017-02-15 07:48:42 -0500
commit76d79d597aeba1d9182414acf038ed376cd5139c (patch)
tree4a666199c7c3d186060a162d86a9d82b0044ce3e /src/or/routerparse.h
parentdec7dc3d823a8a9cc1d9d75d1b803a6e6b308a8e (diff)
parent5d88267bf47fb532b53691ab428cbfd9db3881cf (diff)
downloadtor-76d79d597aeba1d9182414acf038ed376cd5139c.tar.gz
tor-76d79d597aeba1d9182414acf038ed376cd5139c.zip
Merge branch 'maint-0.2.9'
Diffstat (limited to 'src/or/routerparse.h')
-rw-r--r--src/or/routerparse.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/routerparse.h b/src/or/routerparse.h
index 8eea989e31..648f29b0d3 100644
--- a/src/or/routerparse.h
+++ b/src/or/routerparse.h
@@ -45,6 +45,9 @@ MOCK_DECL(addr_policy_t *, router_parse_addr_policy_item_from_string,
(const char *s, int assume_action, int *malformed_list));
version_status_t tor_version_is_obsolete(const char *myversion,
const char *versionlist);
+int tor_version_parse_platform(const char *platform,
+ tor_version_t *version_out,
+ int strict);
int tor_version_as_new_as(const char *platform, const char *cutoff);
int tor_version_parse(const char *s, tor_version_t *out);
int tor_version_compare(tor_version_t *a, tor_version_t *b);