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 | |
parent | ae1976cb267e3010d23d423e867155bc60391fd3 (diff) | |
download | rspamd-118583499b9a7fa4ac0f713adb69d354105116e8.tar.gz rspamd-118583499b9a7fa4ac0f713adb69d354105116e8.zip |
Make lua_regexp structure public
-rw-r--r-- | src/lua/lua_common.h | 7 | ||||
-rw-r--r-- | src/lua/lua_regexp.c | 7 |
2 files changed, 7 insertions, 7 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 */ diff --git a/src/lua/lua_regexp.c b/src/lua/lua_regexp.c index 594b42bbe..b878d2a8d 100644 --- a/src/lua/lua_regexp.c +++ b/src/lua/lua_regexp.c @@ -73,13 +73,6 @@ static const struct luaL_reg regexplib_f[] = { rspamd_mempool_t *regexp_static_pool = NULL; -struct rspamd_lua_regexp { - rspamd_regexp_t *re; - gchar *re_pattern; - gsize match_limit; - gint re_flags; -}; - static struct rspamd_lua_regexp * lua_check_regexp (lua_State * L) { |