aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-12 15:14:35 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-12 15:14:35 +0000
commit56fdb79c495ab76cbde7cc7b12d3751b662fb9c4 (patch)
tree43fde227600ce7cd3036e12eb9799108fde399bd /src/rspamd.h
parent7ea334cd83f09d7c7ad7f1795cbf702fd137979c (diff)
downloadrspamd-56fdb79c495ab76cbde7cc7b12d3751b662fb9c4.tar.gz
rspamd-56fdb79c495ab76cbde7cc7b12d3751b662fb9c4.zip
Add external libraries context
Diffstat (limited to 'src/rspamd.h')
-rw-r--r--src/rspamd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rspamd.h b/src/rspamd.h
index 970046eb5..701efb9f8 100644
--- a/src/rspamd.h
+++ b/src/rspamd.h
@@ -19,6 +19,7 @@
#include "libserver/events.h"
#include "libserver/roll_history.h"
#include "libserver/task.h"
+#include <magic.h>
/* Default values */
@@ -229,6 +230,10 @@ struct controller_session {
struct event_base *ev_base; /**< Event base */
};
+struct rspamd_external_libs_ctx {
+ magic_t libmagic;
+};
+
/**
* Register custom controller function