summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-15 10:07:17 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-15 10:10:24 -0400
commit5d5c442e6ad726382c7b8efc0e999825a783bd9e (patch)
treeb840edeb2e62fe8a04b7735bdbec90ebd575c268 /src/or/connection_edge.h
parent2a574d11ac8747996dcb979b04e38b16c5a0a9de (diff)
downloadtor-5d5c442e6ad726382c7b8efc0e999825a783bd9e.tar.gz
tor-5d5c442e6ad726382c7b8efc0e999825a783bd9e.zip
Split entry and edge_connection_t into their own headers.
Diffstat (limited to 'src/or/connection_edge.h')
-rw-r--r--src/or/connection_edge.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/or/connection_edge.h b/src/or/connection_edge.h
index c6583d3845..27d2c8614f 100644
--- a/src/or/connection_edge.h
+++ b/src/or/connection_edge.h
@@ -14,7 +14,11 @@
#include "testsupport.h"
-#define connection_mark_unattached_ap(conn, endreason) \
+edge_connection_t *TO_EDGE_CONN(connection_t *);
+entry_connection_t *TO_ENTRY_CONN(connection_t *);
+entry_connection_t *EDGE_TO_ENTRY_CONN(edge_connection_t *);
+
+#define connection_mark_unattached_ap(conn, endreason) \
connection_mark_unattached_ap_((conn), (endreason), __LINE__, SHORT_FILE__)
MOCK_DECL(void,connection_mark_unattached_ap_,