aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-07 19:06:09 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-07 19:06:09 +0400
commit73ded9877fc31f8c1ff5818b643edb7d7c4ea788 (patch)
tree97a94ceb14fb963a61d414f3d20d44541a533fdb /src/main.h
parenta44b10c0a88a70921f1eec9ced4b3ef0f0e01b4e (diff)
downloadrspamd-73ded9877fc31f8c1ff5818b643edb7d7c4ea788.tar.gz
rspamd-73ded9877fc31f8c1ff5818b643edb7d7c4ea788.zip
Avoid using global 'counters' hash, include it in struct rspamd_main.
Move worker related utils to separate file and include it in rspamd-mime library. Add some cross-dependencies.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index 1d8fab134..f90edf1d2 100644
--- a/src/main.h
+++ b/src/main.h
@@ -99,6 +99,7 @@ struct rspamd_main {
memory_pool_t *server_pool; /**< server's memory pool */
statfile_pool_t *statfile_pool; /**< shared statfiles pool */
GHashTable *workers; /**< workers pool indexed by pid */
+ rspamd_hash_t *counters; /**< symbol cache counters */
rspamd_logger_t *logger;
uid_t workers_uid; /**< worker's uid running to */
gid_t workers_gid; /**< worker's gid running to */