diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-04-23 17:17:49 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-04-23 17:17:49 +0100 |
commit | 585b2533219a21972200acbeb11289ec83ffe946 (patch) | |
tree | 6ad8bd4f45590c0d577ba9e98f6ed2d281f9049b /src/lua/lua_common.h | |
parent | 60403ad3baecbd5af0603c0b73c0bae7fe249600 (diff) | |
download | rspamd-585b2533219a21972200acbeb11289ec83ffe946.tar.gz rspamd-585b2533219a21972200acbeb11289ec83ffe946.zip |
[Project] Adopt lua maps
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r-- | src/lua/lua_common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h index 310a5504c..b07bf0729 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -104,10 +104,10 @@ struct rspamd_lua_map { guint flags; union { - struct radix_tree_compressed *radix; - GHashTable *hash; + struct rspamd_radix_map_helper *radix; + struct rspamd_hash_map_helper *hash; + struct rspamd_regexp_map_helper *re_map; struct lua_map_callback_data *cbdata; - struct rspamd_regexp_map *re_map; } data; }; |