summaryrefslogtreecommitdiff
path: root/src/feature/rend/rendmid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/rend/rendmid.h')
-rw-r--r--src/feature/rend/rendmid.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/feature/rend/rendmid.h b/src/feature/rend/rendmid.h
new file mode 100644
index 0000000000..8ae1fa16b8
--- /dev/null
+++ b/src/feature/rend/rendmid.h
@@ -0,0 +1,25 @@
+/* Copyright (c) 2001 Matej Pfajfar.
+ * Copyright (c) 2001-2004, Roger Dingledine.
+ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
+ * Copyright (c) 2007-2019, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+/**
+ * \file rendmid.h
+ * \brief Header file for rendmid.c.
+ **/
+
+#ifndef TOR_RENDMID_H
+#define TOR_RENDMID_H
+
+int rend_mid_establish_intro_legacy(or_circuit_t *circ, const uint8_t *request,
+ size_t request_len);
+int rend_mid_introduce_legacy(or_circuit_t *circ, const uint8_t *request,
+ size_t request_len);
+int rend_mid_establish_rendezvous(or_circuit_t *circ, const uint8_t *request,
+ size_t request_len);
+int rend_mid_rendezvous(or_circuit_t *circ, const uint8_t *request,
+ size_t request_len);
+
+#endif /* !defined(TOR_RENDMID_H) */
+