summaryrefslogtreecommitdiff
path: root/src/common/compress_zlib.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-25 10:29:07 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-25 10:29:07 -0400
commit4266ec766af8e210ac52f597699b44818960ee39 (patch)
tree902ce2bd58a59f78b8317e2277ecddbf233cdae3 /src/common/compress_zlib.h
parent91dd4a00f7d4891e24187a849933547128aeeb9f (diff)
downloadtor-4266ec766af8e210ac52f597699b44818960ee39.tar.gz
tor-4266ec766af8e210ac52f597699b44818960ee39.zip
Use atomic counters for compressor allocation.
Diffstat (limited to 'src/common/compress_zlib.h')
-rw-r--r--src/common/compress_zlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/compress_zlib.h b/src/common/compress_zlib.h
index 6e8e5c5136..817ca2785b 100644
--- a/src/common/compress_zlib.h
+++ b/src/common/compress_zlib.h
@@ -47,5 +47,7 @@ size_t tor_zlib_compress_state_size(const tor_zlib_compress_state_t *state);
size_t tor_zlib_get_total_allocation(void);
+void tor_zlib_init(void);
+
#endif // TOR_COMPRESS_ZLIB_H.