adding documentation to extracted unit test helper

This commit is contained in:
Chelsea H. Komlo 2016-11-21 13:30:25 -05:00
parent 118bba7622
commit c86bbdd3ae
No known key found for this signature in database
GPG Key ID: 1138332F98B52EE7

View File

@ -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)
{ {