aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-06-08 15:19:48 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-06-08 15:33:33 +0100
commit1e5de80791c519775755d612a542b7b0860a609f (patch)
treea62990e4003d06e52bbd45fb0dc90b57e6fa4354 /src/lua/lua_common.h
parent388329de57ed412fe66063238964f77b609d5891 (diff)
downloadrspamd-1e5de80791c519775755d612a542b7b0860a609f.tar.gz
rspamd-1e5de80791c519775755d612a542b7b0860a609f.zip
[Minor] Add task:has_header method
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index f9ec8e2e3..76680cbc5 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -256,6 +256,7 @@ enum rspamd_lua_task_header_type {
RSPAMD_TASK_HEADER_PUSH_RAW,
RSPAMD_TASK_HEADER_PUSH_FULL,
RSPAMD_TASK_HEADER_PUSH_COUNT,
+ RSPAMD_TASK_HEADER_PUSH_HAS,
};
gint rspamd_lua_push_header (lua_State *L,