diff options
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 639a68ff3..45631e272 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -310,6 +310,8 @@ struct connection_t { int done_sending; /* for half-open connections; not used currently */ int done_receiving; + char has_sent_end; /* for debugging: set once we've set the stream end, + and check in circuit_about_to_close_connection() */ }; typedef struct connection_t connection_t; @@ -581,6 +583,9 @@ void assert_connection_ok(connection_t *conn, time_t now); /********************************* connection_edge.c ***************************/ int connection_edge_process_inbuf(connection_t *conn); +void connection_edge_end(connection_t *conn, void *payload, int payload_len, + crypt_path_t *cpath_layer); + void connection_edge_send_command(connection_t *fromconn, circuit_t *circ, int relay_command, void *payload, int payload_len, crypt_path_t *cpath_layer); |