]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Complete lua_State parameter threading through codebase
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 14 Nov 2025 20:21:29 +0000 (20:21 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 14 Nov 2025 20:21:29 +0000 (20:21 +0000)
commit1214aa434a7e1818fd33895ef4093064aa3fe388
tree915fb7203195e8d357575ccf68f5fdd1446a3a0a
parent600b20bd600ac68a63f013cd7b902f6ff4c78be7
[Fix] Complete lua_State parameter threading through codebase

- Add forward declaration in url.c for rspamd_url_lua_consult
- Add lua_State forward declaration in html_url.hxx
- Add lua_State parameter to html_append_tag_content
- Add lua_State parameter to html_process_img_tag
- Add lua_State parameter to html_process_link_tag
- Add lua_State parameter to html_url_is_phished
- Cast void* to lua_State* when calling HTML functions from task context
- Cast lua_State* to void* when calling C API from C++ functions
- All compilation errors resolved
- Build successful
src/libserver/html/html.cxx
src/libserver/html/html_url.cxx
src/libserver/html/html_url.hxx
src/libserver/url.c