diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-06 15:30:10 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-06 15:30:10 +0100 |
commit | 2a5e10cd472278a35dc4a7980a8130bcb9ca6430 (patch) | |
tree | fb960ce0e37eaca6788f27f620547231fc0a5a22 /config.h.in | |
parent | 2c33c006c2b7f8cea8bbbb157c39268705211e8a (diff) | |
download | rspamd-2a5e10cd472278a35dc4a7980a8130bcb9ca6430.tar.gz rspamd-2a5e10cd472278a35dc4a7980a8130bcb9ca6430.zip |
Hide workers and modules definitions.
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/config.h.in b/config.h.in index ca03751cf..38c159030 100644 --- a/config.h.in +++ b/config.h.in @@ -508,32 +508,5 @@ typedef off_t goffset; # define NBYTES(nbits) (((nbits) + BITSPERBYTE - 1) / BITSPERBYTE) #endif -/* Forwarded declaration */ -struct module_ctx; -struct rspamd_config; -struct rspamd_worker; - -typedef struct module_s { - const gchar *name; - int (*module_init_func)(struct rspamd_config *cfg, struct module_ctx **ctx); - int (*module_config_func)(struct rspamd_config *cfg); - int (*module_reconfig_func)(struct rspamd_config *cfg); - int (*module_attach_controller_func)(struct module_ctx *ctx, - GHashTable *custom_commands); -} module_t; - -typedef struct worker_s { - const gchar *name; - gpointer (*worker_init_func)(struct rspamd_config *cfg); - void (*worker_start_func)(struct rspamd_worker *worker); - gboolean has_socket; - gboolean unique; - gboolean threaded; - gboolean killable; - gint listen_type; -} worker_t; - -extern module_t *modules[]; -extern worker_t *workers[]; #endif |