diff options
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r-- | src/lua/lua_common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h index cb53c05f2..aaa13134e 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -148,6 +148,16 @@ struct rspamd_lua_ip * lua_check_ip (lua_State * L, gint pos); struct rspamd_lua_text * lua_check_text (lua_State * L, gint pos); /** + * Push specific header to lua + */ +gint rspamd_lua_push_header (lua_State * L, + GHashTable *hdrs, + const gchar *name, + gboolean strong, + gboolean full, + gboolean raw); + +/** * Check for task at the specified position */ struct rspamd_task *lua_check_task (lua_State * L, gint pos); |