aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-06 15:30:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-06 15:30:10 +0100
commit2a5e10cd472278a35dc4a7980a8130bcb9ca6430 (patch)
treefb960ce0e37eaca6788f27f620547231fc0a5a22 /src/libserver/cfg_file.h
parent2c33c006c2b7f8cea8bbbb157c39268705211e8a (diff)
downloadrspamd-2a5e10cd472278a35dc4a7980a8130bcb9ca6430.tar.gz
rspamd-2a5e10cd472278a35dc4a7980a8130bcb9ca6430.zip
Hide workers and modules definitions.
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r--src/libserver/cfg_file.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h
index 37d65bd74..7ec39fa88 100644
--- a/src/libserver/cfg_file.h
+++ b/src/libserver/cfg_file.h
@@ -20,6 +20,8 @@
struct expression;
struct tokenizer;
struct rspamd_stat_classifier;
+struct module_s;
+struct worker_s;
enum { VAL_UNDEF=0, VAL_TRUE, VAL_FALSE };
@@ -145,7 +147,7 @@ struct rspamd_worker_bind_conf {
* Config params for rspamd worker
*/
struct rspamd_worker_conf {
- worker_t *worker; /**< pointer to worker type */
+ struct worker_s *worker; /**< pointer to worker type */
GQuark type; /**< type of worker */
struct rspamd_worker_bind_conf *bind_conf; /**< bind configuration */
guint16 count; /**< number of workers */
@@ -265,7 +267,8 @@ struct rspamd_config {
guint32 min_word_len; /**< minimum length of the word to be considered */
GList *classify_headers; /**< list of headers using for statistics */
- module_t *compiled_modules; /**< list of compiled C modules */
+ struct module_s **compiled_modules; /**< list of compiled C modules */
+ struct worker_s **compiled_workers; /**< list of compiled C modules */
};