summaryrefslogtreecommitdiff
path: root/src/or/channel.c
diff options
context:
space:
mode:
authorMatt Traudt <sirmatt@ksu.edu>2017-07-10 16:10:29 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-09-15 11:40:59 -0400
commit2034e0d1d42c4f36a24c1eb88f95d057dacacf72 (patch)
treef78921b156db648d3666b765b0a38958abc90439 /src/or/channel.c
parentb2c56eacdd61429f17b9e14db665592ac4453c50 (diff)
downloadtor-2034e0d1d42c4f36a24c1eb88f95d057dacacf72.tar.gz
tor-2034e0d1d42c4f36a24c1eb88f95d057dacacf72.zip
sched: Groundwork before KIST implementation
- HT_FOREACH_FN defined in an additional place because nickm did that in an old kist prototype - Make channel_more_to_flush mockable for future sched tests - Add empty scheduler_{vanilla,kist}.c files and put in include.am Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/channel.c')
-rw-r--r--src/or/channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/channel.c b/src/or/channel.c
index 9f8a03683f..d64a0347a9 100644
--- a/src/or/channel.c
+++ b/src/or/channel.c
@@ -2601,8 +2601,8 @@ channel_flush_cells(channel_t *chan)
* available.
*/
-int
-channel_more_to_flush(channel_t *chan)
+MOCK_IMPL(int,
+channel_more_to_flush, (channel_t *chan))
{
tor_assert(chan);