diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-11-05 23:34:39 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-11-05 23:34:39 +0000 |
commit | 6fcda5299fe7c0a40d3bff06ac4dcfe13d02d476 (patch) | |
tree | eb42e117ce2b35dab8ae718df80c77946eae6040 /src/or/or.h | |
parent | 9a20a64b62b149b102a487b6dc099fa310553f3c (diff) | |
download | tor-6fcda5299fe7c0a40d3bff06ac4dcfe13d02d476.tar tor-6fcda5299fe7c0a40d3bff06ac4dcfe13d02d476.tar.gz |
r14727@31-33-67: nickm | 2007-11-05 18:34:35 -0500
Make VERSIONS variable-length.
svn:r12391
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index abc391658..93c054241 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2790,6 +2790,8 @@ void or_handshake_state_free(or_handshake_state_t *state); int connection_or_set_state_open(or_connection_t *conn); void connection_or_write_cell_to_buf(const cell_t *cell, or_connection_t *conn); +void connection_or_write_var_cell_to_buf(const var_cell_t *cell, + or_connection_t *conn); int connection_or_send_destroy(uint16_t circ_id, or_connection_t *conn, int reason); int connection_or_send_netinfo(or_connection_t *conn); @@ -2799,7 +2801,8 @@ int connection_or_compute_link_auth_hmac(or_connection_t *conn, char *hmac_out); void cell_pack(packed_cell_t *dest, const cell_t *src); -void var_cell_pack_header(var_cell_t *cell, char *hdr_out); +void var_cell_pack_header(const var_cell_t *cell, char *hdr_out); +var_cell_t *var_cell_new(uint16_t payload_len); void var_cell_free(var_cell_t *cell); /********************************* control.c ***************************/ |