summaryrefslogtreecommitdiff
path: root/src/or/scheduler.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2013-12-12 04:29:45 -0800
committerAndrea Shepard <andrea@torproject.org>2014-09-30 22:49:58 -0700
commitac1b627e85a41bb734ab22bef268a5145cf83f15 (patch)
treed1603597628f0c8982a04ba58cd7d412c504b377 /src/or/scheduler.h
parented1927d6bf8b9d60d40f6fbc20f9e1575a35e59d (diff)
downloadtor-ac1b627e85a41bb734ab22bef268a5145cf83f15.tar.gz
tor-ac1b627e85a41bb734ab22bef268a5145cf83f15.zip
Implement scheduler_touch_channel()
Diffstat (limited to 'src/or/scheduler.h')
-rw-r--r--src/or/scheduler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/scheduler.h b/src/or/scheduler.h
index 8fe59cb0b3..e2d2eb5192 100644
--- a/src/or/scheduler.h
+++ b/src/or/scheduler.h
@@ -30,5 +30,8 @@ void scheduler_release_channel(channel_t *chan);
/* Notify scheduler of queue size adjustments */
void scheduler_adjust_queue_size(channel_t *chan, char dir, uint64_t adj);
+/* Notify scheduler that a channel's queue position may have changed */
+void scheduler_touch_channel(channel_t *chan);
+
#endif /* !defined(TOR_SCHEDULER_H) */