aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-20 19:13:45 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-20 19:13:45 +0400
commitca72f2d5e8e90d6dfb61fe407e8b532894a885ac (patch)
treedb8af6c2c224aaac910eafde4e9e45c81f96853e /src/main.h
parent8b8b79dd4f5bb0e8fd7b5d6f5fcd0a8050502862 (diff)
downloadrspamd-ca72f2d5e8e90d6dfb61fe407e8b532894a885ac.tar.gz
rspamd-ca72f2d5e8e90d6dfb61fe407e8b532894a885ac.zip
* Fix process dispatcher
* Use bloom filter in fuzzy storage
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.h b/src/main.h
index ee34a2cae..ef9a29537 100644
--- a/src/main.h
+++ b/src/main.h
@@ -56,8 +56,9 @@ enum process_type {
*/
struct rspamd_worker {
pid_t pid; /**< pid of worker */
- char is_initialized; /**< is initialized */
- char is_dying; /**< if worker is going to shutdown */
+ gboolean is_initialized; /**< is initialized */
+ gboolean is_dying; /**< if worker is going to shutdown */
+ gboolean pending; /**< if worker is pending to run */
struct rspamd_main *srv; /**< pointer to server structure */
enum process_type type; /**< process type */
struct event sig_ev; /**< signals event */