summaryrefslogtreecommitdiff
path: root/src/common/mempool.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-06-18 10:28:43 -0400
committerNick Mathewson <nickm@torproject.org>2013-06-18 10:28:43 -0400
commit4a9ccb5d59d88f3026460802ee8209b79d709931 (patch)
tree36948a75699a42f2203951bb854b6512ae6edf99 /src/common/mempool.h
parentdcb4f22506c7763dee9fbf6139df9dc11d41b184 (diff)
parentefa342f5fa2c6700ed8273557b7fb39bdc577120 (diff)
downloadtor-4a9ccb5d59d88f3026460802ee8209b79d709931.tar.gz
tor-4a9ccb5d59d88f3026460802ee8209b79d709931.zip
Merge remote-tracking branch 'origin/maint-0.2.4' into release-0.2.4
Diffstat (limited to 'src/common/mempool.h')
-rw-r--r--src/common/mempool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/mempool.h b/src/common/mempool.h
index 20312fb4c9..0fc1e4c676 100644
--- a/src/common/mempool.h
+++ b/src/common/mempool.h
@@ -22,6 +22,8 @@ void mp_pool_destroy(mp_pool_t *pool);
void mp_pool_assert_ok(mp_pool_t *pool);
void mp_pool_log_status(mp_pool_t *pool, int severity);
+#define MP_POOL_ITEM_OVERHEAD (sizeof(void*))
+
#define MEMPOOL_STATS
#ifdef MEMPOOL_PRIVATE