mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
adding documentation to extracted unit test helper
This commit is contained in:
parent
118bba7622
commit
c86bbdd3ae
@ -108,6 +108,8 @@ connection_write_to_buf_mock(const char *string, size_t len,
|
|||||||
write_to_buf(string, len, conn->outbuf);
|
write_to_buf(string, len, conn->outbuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Set up a fake origin circuit with the specified number of cells,
|
||||||
|
* Return a pointer to the newly-created dummy circuit */
|
||||||
circuit_t *
|
circuit_t *
|
||||||
dummy_origin_circuit_new(int n_cells)
|
dummy_origin_circuit_new(int n_cells)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user