aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rspamd.h')
-rw-r--r--src/rspamd.h14
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