diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-08-14 17:14:02 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-08-14 17:14:02 +0400 |
commit | 8b8ae0cf7aeaff5d202ebb084e67fabaeb67d055 (patch) | |
tree | 0693513f1d7c4997af1f160fbdf9137115496c01 /config.h.in | |
parent | 5014f7e7cbddb7890502bdf6ee53c7be60124f60 (diff) | |
download | rspamd-8b8ae0cf7aeaff5d202ebb084e67fabaeb67d055.tar.gz rspamd-8b8ae0cf7aeaff5d202ebb084e67fabaeb67d055.zip |
* Add initial implementation of C modules API
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 11 |
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[]; |