diff options
author | Andrea Shepard <andrea@torproject.org> | 2014-01-21 00:58:27 -0800 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-09-30 23:09:14 -0700 |
commit | bef11b715637ad28f6c8802adf6893e050c05d0a (patch) | |
tree | a99685d179a86033aa89fe9e7c281e605236c513 /src/test/fakechans.h | |
parent | 79b8f14c25ecbb4cda8fe587f18694dedd3ee9c0 (diff) | |
download | tor-bef11b715637ad28f6c8802adf6893e050c05d0a.tar.gz tor-bef11b715637ad28f6c8802adf6893e050c05d0a.zip |
Expose a useful mock from test_channel.c
Diffstat (limited to 'src/test/fakechans.h')
-rw-r--r-- | src/test/fakechans.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/fakechans.h b/src/test/fakechans.h index b474810bc4..99773e721d 100644 --- a/src/test/fakechans.h +++ b/src/test/fakechans.h @@ -13,4 +13,7 @@ void make_fake_cell(cell_t *c); void make_fake_var_cell(var_cell_t *c); channel_t * new_fake_channel(void); +/* Also exposes some a mock used by both test_channel.c and test_relay.c */ +void scheduler_release_channel_mock(channel_t *ch); + #endif /* !defined(TOR_FAKECHANS_H) */ |