diff options
author | David Goulet <dgoulet@torproject.org> | 2016-11-15 15:09:27 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-01-18 16:58:54 -0500 |
commit | 50cfc9834094acf33bd5afff6a2a36f7f17e70e0 (patch) | |
tree | d9505ce3462b861efd67fcbc9554e667af922366 /src/or/relay.h | |
parent | 5208085be1deff4711b634b108052970aed6a127 (diff) | |
download | tor-50cfc9834094acf33bd5afff6a2a36f7f17e70e0.tar.gz tor-50cfc9834094acf33bd5afff6a2a36f7f17e70e0.zip |
prop224: Add unit tests for INTRODUCE1 support
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/relay.h')
-rw-r--r-- | src/or/relay.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/relay.h b/src/or/relay.h index 26b594ece6..3acf3ee0e3 100644 --- a/src/or/relay.h +++ b/src/or/relay.h @@ -20,10 +20,11 @@ int circuit_receive_relay_cell(cell_t *cell, circuit_t *circ, void relay_header_pack(uint8_t *dest, const relay_header_t *src); void relay_header_unpack(relay_header_t *dest, const uint8_t *src); -int relay_send_command_from_edge_(streamid_t stream_id, circuit_t *circ, +MOCK_DECL(int, +relay_send_command_from_edge_,(streamid_t stream_id, circuit_t *circ, uint8_t relay_command, const char *payload, size_t payload_len, crypt_path_t *cpath_layer, - const char *filename, int lineno); + const char *filename, int lineno)); /* Indicates to relay_send_command_from_edge() that it is a control cell. */ #define CONTROL_CELL_ID 0 #define relay_send_command_from_edge(stream_id, circ, relay_command, payload, \ |