aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2008-08-14 17:14:02 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2008-08-14 17:14:02 +0400
commit8b8ae0cf7aeaff5d202ebb084e67fabaeb67d055 (patch)
tree0693513f1d7c4997af1f160fbdf9137115496c01 /config.h.in
parent5014f7e7cbddb7890502bdf6ee53c7be60124f60 (diff)
downloadrspamd-8b8ae0cf7aeaff5d202ebb084e67fabaeb67d055.tar.gz
rspamd-8b8ae0cf7aeaff5d202ebb084e67fabaeb67d055.zip
* Add initial implementation of C modules API
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
new file mode 100644
index 000000000..7b17b3427
--- /dev/null
+++ b/config.h.in
@@ -0,0 +1,11 @@
+#include <sys/types.h>
+
+/* Forwarded declaration */
+struct module_ctx;
+
+typedef struct module_s {
+ const char *name;
+ int (*module_init_func)(struct module_ctx *ctx);
+} module_t;
+
+extern module_t modules[];