aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-04 12:47:18 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-04 12:47:18 +0000
commit536928ff78dac086a0f0b68fed7c4e87d3cf743c (patch)
tree5f7fe4dd422b0ff109b06caf7b9da78806b5c609 /src/lua/lua_common.h
parent93c8d14a6b04ef0325dc62e11ab19156b4ba962b (diff)
downloadrspamd-536928ff78dac086a0f0b68fed7c4e87d3cf743c.tar.gz
rspamd-536928ff78dac086a0f0b68fed7c4e87d3cf743c.zip
[Fix] Fix lua cached elements invalidation
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index 1cbbd9bd2..0d95d9092 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -111,6 +111,11 @@ struct rspamd_lua_map {
} data;
};
+struct rspamd_lua_cached_entry {
+ gint ref;
+ guint id;
+};
+
/* Common utility functions */
/**