diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-06 19:55:23 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-06 19:55:23 +0400 |
commit | d1b63d4cff12936a5ea4380bccadcc77b7c3ed3f (patch) | |
tree | 33ea284a3c1f5e4c8366fc7eff545cd05c1448d9 /src/cfg_file.l | |
parent | ab946cd1efd6b2ffcf1080d2a4f4c66dda811ef3 (diff) | |
download | rspamd-d1b63d4cff12936a5ea4380bccadcc77b7c3ed3f.tar.gz rspamd-d1b63d4cff12936a5ea4380bccadcc77b7c3ed3f.zip |
* Add ability to call rspamd fucntions from lua api
* Make logging adaptive based on log speed (buffered vs unbuffered IO)
* Fix lua API docs
* Now lua modules can be loaded with glob patterns
Diffstat (limited to 'src/cfg_file.l')
-rw-r--r-- | src/cfg_file.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cfg_file.l b/src/cfg_file.l index ce207dbf5..1fcf000f4 100644 --- a/src/cfg_file.l +++ b/src/cfg_file.l @@ -10,7 +10,7 @@ #include "cfg_file.h" #include "cfg_yacc.h" #ifdef WITH_LUA -#include "lua.h" +extern void add_luabuf (const char *line); #else #define add_luabuf(x) yyerror ("lua support diabled") #endif @@ -52,8 +52,8 @@ protocol return PROTOCOL; memcached return MEMCACHED; servers return SERVERS; -require return REQUIRE; -module return MODULE; +modules return MODULES; +module_path return MODULE_PATH; filters return FILTERS; factors return FACTORS; |