mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Make scheduler_channel_doesnt_want_writes() mockable
This commit is contained in:
parent
bef11b7156
commit
ade60890d0
@ -275,8 +275,8 @@ scheduler_channel_doesnt_want_writes,(channel_t *chan))
|
||||
|
||||
/** Mark a channel as having waiting cells */
|
||||
|
||||
void
|
||||
scheduler_channel_has_waiting_cells(channel_t *chan)
|
||||
MOCK_IMPL(void,
|
||||
scheduler_channel_has_waiting_cells,(channel_t *chan))
|
||||
{
|
||||
int became_pending = 0;
|
||||
|
||||
|
@ -22,7 +22,7 @@ void scheduler_run(void);
|
||||
|
||||
/* Mark channels as having cells or wanting/not wanting writes */
|
||||
MOCK_DECL(void,scheduler_channel_doesnt_want_writes,(channel_t *chan));
|
||||
void scheduler_channel_has_waiting_cells(channel_t *chan);
|
||||
MOCK_DECL(void,scheduler_channel_has_waiting_cells,(channel_t *chan));
|
||||
void scheduler_channel_wants_writes(channel_t *chan);
|
||||
|
||||
/* Notify the scheduler of a channel being closed */
|
||||
|
Loading…
Reference in New Issue
Block a user