aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/crypt_path.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-04-08 12:46:40 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2019-05-03 18:15:00 +0300
commit9584798e57f2e5525e01b8bec51de61ff0c256b9 (patch)
treeb18246c885953b3cb6b59a3cca65df269ef2608f /src/core/or/crypt_path.h
parentc3a5e6b4363eba5157c7cccc049f31f6ae144fcf (diff)
downloadtor-9584798e57f2e5525e01b8bec51de61ff0c256b9.tar.gz
tor-9584798e57f2e5525e01b8bec51de61ff0c256b9.zip
Hiding crypt_path_t: Move assert functions in crypt_path.c.
This commit only moves code, and makes one function public.
Diffstat (limited to 'src/core/or/crypt_path.h')
-rw-r--r--src/core/or/crypt_path.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/or/crypt_path.h b/src/core/or/crypt_path.h
new file mode 100644
index 0000000000..a9b9aae43d
--- /dev/null
+++ b/src/core/or/crypt_path.h
@@ -0,0 +1,11 @@
+/**
+ * \file crypt_path.h
+ * \brief Header file for crypt_path.c.
+ **/
+
+/* rename */
+void assert_cpath_layer_ok(const crypt_path_t *cp);
+
+/* rename */
+void assert_cpath_ok(const crypt_path_t *cp);
+