aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-04-26 15:04:36 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-04-26 15:04:36 +0100
commit656fc022c1c4866902ae884d23732fcec6810205 (patch)
treec6c90c727665338b0f514008bc78f29c6594233c /src/lua/lua_common.c
parent2972ef051bde97ffbf628278b18035d8a261686b (diff)
downloadrspamd-656fc022c1c4866902ae884d23732fcec6810205.tar.gz
rspamd-656fc022c1c4866902ae884d23732fcec6810205.zip
[Feature] Add zstd streaming API
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r--src/lua/lua_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c
index 482245ac9..06720c9f2 100644
--- a/src/lua/lua_common.c
+++ b/src/lua/lua_common.c
@@ -14,6 +14,7 @@
* limitations under the License.
*/
#include "lua_common.h"
+#include "lua_compress.h"
#include "lptree.h"
#include "utlist.h"
#include "unix-std.h"
@@ -981,6 +982,7 @@ rspamd_lua_init (bool wipe_mem)
luaopen_spf (L);
luaopen_tensor (L);
luaopen_parsers (L);
+ luaopen_compress (L);
#ifndef WITH_LUAJIT
rspamd_lua_add_preload (L, "bit", luaopen_bit);
lua_settop (L, 0);