aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-03-24 15:57:51 +0000
committerNick Mathewson <nickm@torproject.org>2007-03-24 15:57:51 +0000
commit306d5400c367460936523f8417102f043a98fa78 (patch)
tree332d33d9a82fe3bf3bf8bb2be306b58c0a4bc5aa /src/or/or.h
parent2cf63f8a62b668c2543b31519d4a8ed593a70cc7 (diff)
downloadtor-306d5400c367460936523f8417102f043a98fa78.tar.gz
tor-306d5400c367460936523f8417102f043a98fa78.zip
r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400
Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 62a3442c77..a468792201 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2190,10 +2190,8 @@ int connection_edge_reached_eof(edge_connection_t *conn);
int connection_edge_process_inbuf(edge_connection_t *conn,
int package_partial);
int connection_edge_destroy(uint16_t circ_id, edge_connection_t *conn);
-int connection_edge_end(edge_connection_t *conn, char reason,
- crypt_path_t *cpath_layer);
-int connection_edge_end_errno(edge_connection_t *conn,
- crypt_path_t *cpath_layer);
+int connection_edge_end(edge_connection_t *conn, char reason);
+int connection_edge_end_errno(edge_connection_t *conn);
int connection_edge_finished_flushing(edge_connection_t *conn);
int connection_edge_finished_connecting(edge_connection_t *conn);
@@ -2623,8 +2621,7 @@ int relay_send_command_from_edge(uint16_t stream_id, circuit_t *circ,
size_t payload_len, crypt_path_t *cpath_layer);
int connection_edge_send_command(edge_connection_t *fromconn, circuit_t *circ,
int relay_command, const char *payload,
- size_t payload_len,
- crypt_path_t *cpath_layer);
+ size_t payload_len);
int connection_edge_package_raw_inbuf(edge_connection_t *conn,
int package_partial);
void connection_edge_consider_sending_sendme(edge_connection_t *conn);