summaryrefslogtreecommitdiff
path: root/src/or/main.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-10 13:19:25 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-13 10:41:14 -0400
commita38fd9bc5bf508d029ff2557311caeb487638968 (patch)
treefb5d67e91da78cefa9374318b14182448a0c8981 /src/or/main.h
parent9fced56ef1a6eae0ce01de310c871823998bd791 (diff)
downloadtor-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.h6
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);