aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/crypt_path.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-04-08 13:01:18 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2019-05-03 18:15:00 +0300
commitf74a80dc3b2ada940e72cd174af5779cac3c3948 (patch)
treecaf7420984bd7d792b5c01a5fabe2940160d8e42 /src/core/or/crypt_path.h
parent9584798e57f2e5525e01b8bec51de61ff0c256b9 (diff)
downloadtor-f74a80dc3b2ada940e72cd174af5779cac3c3948.tar.gz
tor-f74a80dc3b2ada940e72cd174af5779cac3c3948.zip
Hiding crypt_path_t: Move init functions to crypt_path.c.
This commit only moves code.
Diffstat (limited to 'src/core/or/crypt_path.h')
-rw-r--r--src/core/or/crypt_path.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/or/crypt_path.h b/src/core/or/crypt_path.h
index a9b9aae43d..7614aaff28 100644
--- a/src/core/or/crypt_path.h
+++ b/src/core/or/crypt_path.h
@@ -9,3 +9,9 @@ void assert_cpath_layer_ok(const crypt_path_t *cp);
/* rename */
void assert_cpath_ok(const crypt_path_t *cp);
+/* rename */
+int onion_append_hop(crypt_path_t **head_ptr, extend_info_t *choice);
+
+/* rename */
+void onion_append_to_cpath(crypt_path_t **head_ptr, crypt_path_t *new_hop);
+