aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/connection_edge.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-18 15:07:02 -0400
committerNick Mathewson <nickm@torproject.org>2018-10-14 15:25:16 -0400
commit370d9922a4e3cb24a5ff093cadc3098771cab957 (patch)
tree10e57264b79b7b80ef7810b745ebc2a4c2fa3cfe /src/core/or/connection_edge.h
parent965549aa07d94a9f9e510cdb7a215bf9a3ed7bb8 (diff)
downloadtor-370d9922a4e3cb24a5ff093cadc3098771cab957.tar.gz
tor-370d9922a4e3cb24a5ff093cadc3098771cab957.zip
Use the correct function signatures in test_relaycell.c
This is now officially an antipattern: please let's never copy a function declaration in two places again. That's what headers are for.
Diffstat (limited to 'src/core/or/connection_edge.h')
-rw-r--r--src/core/or/connection_edge.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/or/connection_edge.h b/src/core/or/connection_edge.h
index 1348dd49f9..25e04f8416 100644
--- a/src/core/or/connection_edge.h
+++ b/src/core/or/connection_edge.h
@@ -254,6 +254,12 @@ STATIC void connection_ap_handshake_rewrite(entry_connection_t *conn,
rewrite_result_t *out);
STATIC int connection_ap_process_http_connect(entry_connection_t *conn);
+struct half_edge_t;
+STATIC void connection_half_edge_add(const edge_connection_t *conn,
+ origin_circuit_t *circ);
+STATIC struct half_edge_t *connection_half_edge_find_stream_id(
+ const smartlist_t *half_conns,
+ streamid_t stream_id);
#endif /* defined(CONNECTION_EDGE_PRIVATE) */
#endif /* !defined(TOR_CONNECTION_EDGE_H) */