diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-12 16:11:30 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-12 16:11:30 +0000 |
commit | 20c9bfdc2db1066ac174b462c5e9e48287b63ee7 (patch) | |
tree | 1773ef945f67c012bddd24ebb2a52244d29292b6 /src/rspamd.h | |
parent | b4f9c4090f53a867f5a6eadff495c12f66e4e24c (diff) | |
download | rspamd-20c9bfdc2db1066ac174b462c5e9e48287b63ee7.tar.gz rspamd-20c9bfdc2db1066ac174b462c5e9e48287b63ee7.zip |
More steps to support dynamic workers
Diffstat (limited to 'src/rspamd.h')
-rw-r--r-- | src/rspamd.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/rspamd.h b/src/rspamd.h index 0c7668bfa..5fb40861c 100644 --- a/src/rspamd.h +++ b/src/rspamd.h @@ -162,6 +162,20 @@ typedef struct worker_s { const gchar *rspamd_features; } worker_t; +struct rspamd_dynamic_module { + module_t mod; + GModule *lib; + const gchar *path; + GQuark type; +}; + +struct rspamd_dynamic_worker { + worker_t wrk; + GModule *lib; + GQuark type; + const gchar *path; +}; + /** * Check if loaded worker is compatible with rspamd * @param cfg |