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/events.h | |
parent | baeb17562f47dc31610c0f65079c45a7e6ad44bb (diff) | |
download | rspamd-ad837700b86153be3587672124ee663c964f0f15.tar.gz rspamd-ad837700b86153be3587672124ee663c964f0f15.zip |
Refactor memory pool naming.
Diffstat (limited to 'src/events.h')
-rw-r--r-- | src/events.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/events.h b/src/events.h index 1329d5837..072a243da 100644 --- a/src/events.h +++ b/src/events.h @@ -21,7 +21,7 @@ struct rspamd_async_session { event_finalizer_t cleanup; GHashTable *events; void *user_data; - memory_pool_t *pool; + rspamd_mempool_t *pool; gboolean wanna_die; guint threads; GMutex *mtx; @@ -37,7 +37,7 @@ struct rspamd_async_session { * @param user_data abstract user data * @return */ -struct rspamd_async_session *new_async_session (memory_pool_t *pool, +struct rspamd_async_session *new_async_session (rspamd_mempool_t *pool, session_finalizer_t fin, event_finalizer_t restore, event_finalizer_t cleanup, void *user_data); |