summaryrefslogtreecommitdiff
path: root/src/or/protover.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-05-22 12:27:15 -0400
committerNick Mathewson <nickm@torproject.org>2018-05-22 12:27:15 -0400
commita3a8d80bebdbb8988a2f33dea8b18a41e445c06f (patch)
tree9ce3e1b62be136f2b5e886a7013e2f58c58b75b9 /src/or/protover.h
parent3d126632430fe60e7ced72bf82cd2c16f297297e (diff)
parentd2bc019053058b09b5552d327106d9fbe0acad56 (diff)
downloadtor-a3a8d80bebdbb8988a2f33dea8b18a41e445c06f.tar.gz
tor-a3a8d80bebdbb8988a2f33dea8b18a41e445c06f.zip
Merge branch 'trove-2018-005_032' into trove-2018-005_033
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 477274e293..b94ebab15b 100644
--- a/src/or/protover.h
+++ b/src/or/protover.h
@@ -10,7 +10,7 @@
#define TOR_PROTOVER_H
#include "container.h"
-
+#include <stdbool.h>
/** The first version of Tor that included "proto" entries in its
* descriptors. Authorities should use this to decide whether to
* guess proto lines. */
@@ -42,6 +42,7 @@ typedef enum protocol_type_t {
PRT_CONS,
} protocol_type_t;
+bool protover_contains_long_protocol_names(const char *s);
int protover_all_supported(const char *s, char **missing);
int protover_is_supported_here(protocol_type_t pr, uint32_t ver);
const char *protover_get_supported_protocols(void);