summaryrefslogtreecommitdiff
path: root/src/or/protover.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-11-13 10:03:46 -0500
committerNick Mathewson <nickm@torproject.org>2017-11-13 10:03:46 -0500
commitfdefda95bc2566f1ee37c99d89c33399b1364eaa (patch)
tree10325e693440226e522dee106993569d078564c4 /src/or/protover.h
parentedf3d6b7ee2c02804b1c590949af6e24d1d37383 (diff)
downloadtor-fdefda95bc2566f1ee37c99d89c33399b1364eaa.tar.gz
tor-fdefda95bc2566f1ee37c99d89c33399b1364eaa.zip
Add corresponding rust-c coupling comments to C
Diffstat (limited to 'src/or/protover.h')
-rw-r--r--src/or/protover.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/protover.h b/src/or/protover.h
index 5884585ea6..a4dbc8bfc2 100644
--- a/src/or/protover.h
+++ b/src/or/protover.h
@@ -15,6 +15,8 @@
* descriptors. Authorities should use this to decide whether to
* guess proto lines. */
/* This is a guess. */
+/// C_RUST_COUPLED: src/rust/protover/protover.rs
+/// `FIRST_TOR_VERSION_TO_ADVERTISE_PROTOCOLS`
#define FIRST_TOR_VERSION_TO_ADVERTISE_PROTOCOLS "0.2.9.3-alpha"
/** The protover version number that signifies HSDir support for HSv3 */
@@ -25,6 +27,8 @@
#define PROTOVER_HS_RENDEZVOUS_POINT_V3 2
/** List of recognized subprotocols. */
+/// C_RUST_COUPLED: src/rust/protover/ffi.rs `translate_to_rust`
+/// C_RUST_COUPLED: src/rust/protover/protover.rs `Proto`
typedef enum protocol_type_t {
PRT_LINK,
PRT_LINKAUTH,