diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-10 13:19:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-13 10:41:14 -0400 |
commit | a38fd9bc5bf508d029ff2557311caeb487638968 (patch) | |
tree | fb5d67e91da78cefa9374318b14182448a0c8981 /src/or/main.h | |
parent | 9fced56ef1a6eae0ce01de310c871823998bd791 (diff) | |
download | tor-a38fd9bc5bf508d029ff2557311caeb487638968.tar.gz tor-a38fd9bc5bf508d029ff2557311caeb487638968.zip |
Replace the global buckets with token_bucket_t
Diffstat (limited to 'src/or/main.h')
-rw-r--r-- | src/or/main.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/or/main.h b/src/or/main.h index f01506fcea..9ef5b9472f 100644 --- a/src/or/main.h +++ b/src/or/main.h @@ -89,10 +89,8 @@ uint64_t get_main_loop_idle_count(void); extern time_t time_of_process_start; extern int quiet_level; -extern int global_read_bucket; -extern int global_write_bucket; -extern int global_relayed_read_bucket; -extern int global_relayed_write_bucket; +extern token_bucket_t global_bucket; +extern token_bucket_t global_relayed_bucket; #ifdef MAIN_PRIVATE STATIC void init_connection_lists(void); |