summaryrefslogtreecommitdiff
path: root/src/or/protover.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-26 12:49:00 -0400
committerNick Mathewson <nickm@torproject.org>2016-09-26 10:56:51 -0700
commite525f5697f9a0682b2cc24fa9779ebe9f0f3c233 (patch)
tree82d48a2023146861c13c04260faba130f2e7f996 /src/or/protover.h
parent90a6fe318cfae4d64fff034574153b8c96895a6c (diff)
downloadtor-e525f5697f9a0682b2cc24fa9779ebe9f0f3c233.tar.gz
tor-e525f5697f9a0682b2cc24fa9779ebe9f0f3c233.zip
Use protocols to see when EXTEND2 support exists.
(Technically, we could just remove extend2 cell checking entirely, since all Tor versions on our network are required to have it, but let's keep this around as an example of How To Do It.)
Diffstat (limited to 'src/or/protover.h')
-rw-r--r--src/or/protover.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/protover.h b/src/or/protover.h
index d378627759..352fa7cbe8 100644
--- a/src/or/protover.h
+++ b/src/or/protover.h
@@ -33,7 +33,8 @@ const char *get_supported_protocols(void);
char * compute_protover_vote(const smartlist_t *list_of_proto_strings,
int threshold);
const char *protover_compute_for_old_tor(const char *version);
-
+int protocol_list_supports_protocol(const char *list, protocol_type_t tp,
+ uint32_t version);
void protover_free_all(void);