diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-10-30 18:30:51 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-10-30 18:30:51 +0300 |
commit | bb1b1f7889abe5c98a7628ba82e07b70a2142658 (patch) | |
tree | ad51257652a78e63bc030d517ba6a55241a69e3f /src/cfg_file.h | |
parent | 1290cafef2180e5435cbbfd5a72527d0be2f4970 (diff) | |
download | rspamd-bb1b1f7889abe5c98a7628ba82e07b70a2142658.tar.gz rspamd-bb1b1f7889abe5c98a7628ba82e07b70a2142658.zip |
* Implement new system of managing rspamd processes
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r-- | src/cfg_file.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h index 6a0835f51..b165e82f2 100644 --- a/src/cfg_file.h +++ b/src/cfg_file.h @@ -177,6 +177,8 @@ struct worker_conf { int count; /**< number of workers */ GHashTable *params; /**< params for worker */ int listen_sock; /**< listening socket desctiptor */ + GQueue *active_workers; /**< linked list of spawned workers */ + gboolean has_socket; /**< whether we should make listening socket in main process */ }; /** @@ -328,6 +330,7 @@ void unescape_quotes (char *line); GList* parse_comma_list (memory_pool_t *pool, char *line); struct classifier_config* check_classifier_cfg (struct config_file *cfg, struct classifier_config *c); +struct worker_conf* check_worker_conf (struct config_file *cfg, struct worker_conf *c); int yylex (void); int yyparse (void); |