diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-20 08:16:49 -0700 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-20 08:16:49 -0700 |
commit | ad837700b86153be3587672124ee663c964f0f15 (patch) | |
tree | 7ec6e8fbe539a169d501a3d1767644b68fab2dab /src/roll_history.h | |
parent | baeb17562f47dc31610c0f65079c45a7e6ad44bb (diff) | |
download | rspamd-ad837700b86153be3587672124ee663c964f0f15.tar.gz rspamd-ad837700b86153be3587672124ee663c964f0f15.zip |
Refactor memory pool naming.
Diffstat (limited to 'src/roll_history.h')
-rw-r--r-- | src/roll_history.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/roll_history.h b/src/roll_history.h index 58ce6e9d9..a09584337 100644 --- a/src/roll_history.h +++ b/src/roll_history.h @@ -68,9 +68,9 @@ struct roll_history_row { struct roll_history { struct roll_history_row rows[HISTORY_MAX_ROWS]; gint cur_row; - memory_pool_t *pool; + rspamd_mempool_t *pool; gboolean need_lock; - memory_pool_mutex_t *mtx; + rspamd_mempool_mutex_t *mtx; }; /** @@ -78,7 +78,7 @@ struct roll_history { * @param pool pool for shared memory * @return new structure */ -struct roll_history* rspamd_roll_history_new (memory_pool_t *pool); +struct roll_history* rspamd_roll_history_new (rspamd_mempool_t *pool); /** * Update roll history with data from task |