diff options
author | Roger Dingledine <arma@torproject.org> | 2003-10-04 02:38:18 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-10-04 02:38:18 +0000 |
commit | f563bbd2f988cd1f6ca292f89a47a86f98fe0e8d (patch) | |
tree | 08b3ea32a4ce45bc729225bd1beeed555fd0dd52 /src/or/or.h | |
parent | a6bab569abd3ac8f16a3603813fa03e4585a3bd3 (diff) | |
download | tor-f563bbd2f988cd1f6ca292f89a47a86f98fe0e8d.tar.gz tor-f563bbd2f988cd1f6ca292f89a47a86f98fe0e8d.zip |
refactor so connection_write_to_buf() never fails
svn:r537
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h index 90d6028714..857ed5d483 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -550,7 +550,7 @@ int connection_wants_to_flush(connection_t *conn); int connection_outbuf_too_full(connection_t *conn); int connection_flush_buf(connection_t *conn); int connection_handle_write(connection_t *conn); -int connection_write_to_buf(const char *string, int len, connection_t *conn); +void connection_write_to_buf(const char *string, int len, connection_t *conn); connection_t *connection_twin_get_by_addr_port(uint32_t addr, uint16_t port); connection_t *connection_exact_get_by_addr_port(uint32_t addr, uint16_t port); @@ -581,7 +581,7 @@ int connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ, connection int connection_edge_finished_flushing(connection_t *conn); int connection_package_raw_inbuf(connection_t *conn); -int connection_consider_sending_sendme(connection_t *conn, int edge_type); +void connection_consider_sending_sendme(connection_t *conn, int edge_type); int connection_exit_connect(connection_t *conn); @@ -601,7 +601,7 @@ connection_t *connection_or_connect(routerinfo_t *router); int connection_tls_start_handshake(connection_t *conn, int receiving); int connection_tls_continue_handshake(connection_t *conn); -int connection_write_cell_to_buf(const cell_t *cellp, connection_t *conn); +void connection_write_cell_to_buf(const cell_t *cellp, connection_t *conn); int connection_process_cell_from_inbuf(connection_t *conn); /********************************* cpuworker.c *****************************/ |