diff options
author | Matt Traudt <sirmatt@ksu.edu> | 2017-07-10 16:10:50 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-09-07 11:49:38 -0400 |
commit | 91c7bebfa27efe059c29dbeac935942e2cc32c86 (patch) | |
tree | e67b50be9f9a2f8917dde9598d4c2ac7064b6462 /src/or/scheduler.h | |
parent | f117da3ea006fbdda3f5e921d5f8da2ae3d3bdfd (diff) | |
download | tor-91c7bebfa27efe059c29dbeac935942e2cc32c86.tar.gz tor-91c7bebfa27efe059c29dbeac935942e2cc32c86.zip |
consensus: Add a generic notification function on new consensus
Some groundwork for the KIST scheduler implementation.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/scheduler.h')
-rw-r--r-- | src/or/scheduler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/scheduler.h b/src/or/scheduler.h index e29c13de7e..699ccde7a3 100644 --- a/src/or/scheduler.h +++ b/src/or/scheduler.h @@ -37,6 +37,11 @@ void scheduler_touch_channel(channel_t *chan); /* Adjust the watermarks from config file*/ void scheduler_set_watermarks(uint32_t lo, uint32_t hi, uint32_t max_flush); +/* XXXFORTOR Temp def of this func to get this commit to compile. Replace with + * real func */ +void scheduler_notify_networkstatus_changed(const networkstatus_t *old_c, + const networkstatus_t *new_c); + /* Things only scheduler.c and its test suite should see */ #ifdef SCHEDULER_PRIVATE_ |