diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-30 17:57:59 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-30 17:57:59 +0400 |
commit | dd2fbb7a5b7e1c0d844900147486ad7ffd98c1e4 (patch) | |
tree | ab8bfcf6c21bd8a47f49b9f9331378e6454e90cf /src/main.c | |
parent | c72912310c575a5ba7e7e50a5fdd425f3a4e4dbc (diff) | |
download | rspamd-dd2fbb7a5b7e1c0d844900147486ad7ffd98c1e4.tar.gz rspamd-dd2fbb7a5b7e1c0d844900147486ad7ffd98c1e4.zip |
* Add message handling functions to lua API
* Add ability to add lua code in config with .lua and .endlua
* Add consolidation functions support that are written in perl or lua
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 7e78fce9a..348e7a1ea 100644 --- a/src/main.c +++ b/src/main.c @@ -29,7 +29,16 @@ #include "lmtp.h" #ifndef WITHOUT_PERL + +#include <EXTERN.h> /* from the Perl distribution */ +#include <perl.h> /* from the Perl distribution */ + +# ifndef PERL_IMPLICIT_CONTEXT +# undef dTHXa +# define dTHXa(a) +# endif #include "perl.h" + #elif defined(WITH_LUA) #include "lua-rspamd.h" #endif |