diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-04 01:04:40 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-04 01:04:40 +0000 |
commit | 118583499b9a7fa4ac0f713adb69d354105116e8 (patch) | |
tree | 8e3dc0f9a6b911d838f2ec967b2fef0db06032be /src/lua/lua_common.h | |
parent | ae1976cb267e3010d23d423e867155bc60391fd3 (diff) | |
download | rspamd-118583499b9a7fa4ac0f713adb69d354105116e8.tar.gz rspamd-118583499b9a7fa4ac0f713adb69d354105116e8.zip |
Make lua_regexp structure public
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r-- | src/lua/lua_common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h index 3aee6ea52..609838c13 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -72,6 +72,13 @@ struct rspamd_lua_url { struct rspamd_url *url; }; +struct rspamd_lua_regexp { + rspamd_regexp_t *re; + gchar *re_pattern; + gsize match_limit; + gint re_flags; +}; + /* Common utility functions */ |