]> git.ipfire.org Git - thirdparty/suricata.git/commit
lua/util: move SCThreadInfo into suricata.util lib
authorJason Ish <jason.ish@oisf.net>
Mon, 2 Jun 2025 23:23:08 +0000 (17:23 -0600)
committerVictor Julien <victor@inliniac.net>
Wed, 4 Jun 2025 07:39:51 +0000 (09:39 +0200)
commite5faedf7e6c7a636ce69a7eed5838151e1c80175
tree867df83aa49c53c77bb03b94c57c8b85f058ca55
parent778a69962205829ed728b77d9747515db8c24132
lua/util: move SCThreadInfo into suricata.util lib

Move the SCThreadInfo global function into the suricata.util library as
thread_info().

This is the last global function to be registered, so remove the
supporting functions.
14 files changed:
doc/userguide/lua/libs/index.rst
doc/userguide/lua/libs/util.rst [new file with mode: 0644]
doc/userguide/lua/lua-functions.rst
src/Makefile.am
src/detect-lua-extensions.c
src/detect-lua-extensions.h
src/detect-lua.c
src/detect-transform-luaxform.c
src/output-lua.c
src/util-lua-builtins.c
src/util-lua-common.c
src/util-lua-common.h
src/util-lua-util.c [new file with mode: 0644]
src/util-lua-util.h [new file with mode: 0644]