blob: 2a5692583ef1449ebc3e9e907ae2c889811012ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef RSPAMD_LUA_H
#define RSPAMD_LUA_H
#include "config.h"
struct uri;
struct worker_task;
struct config_file;
void init_lua_filters (struct config_file *cfg);
int lua_call_filter (const char *function, struct worker_task *task);
int lua_call_chain_filter (const char *function, struct worker_task *task, int *marks, unsigned int number);
double lua_consolidation_func (struct worker_task *task, const char *metric_name, const char *function_name);
void add_luabuf (const char *line);
#endif
|