]> git.ipfire.org Git - thirdparty/suricata.git/commit
lua: convert file functions to lib suricata.file 13211/head
authorJason Ish <jason.ish@oisf.net>
Thu, 8 May 2025 18:18:44 +0000 (12:18 -0600)
committerVictor Julien <victor@inliniac.net>
Sat, 10 May 2025 23:09:40 +0000 (01:09 +0200)
commitc13f85f18d859603c1a9f55f3310310f9c8d19c9
treea5e9db08de6cb2a9ebefbd58efd714ed4cc735ef
parent3b5a99d239138487c60f5dcaa9abd83c504af161
lua: convert file functions to lib suricata.file

This also breaks out the fileinfo function into a method per file info
item. And likewise for state, just return the state and add a new method
for checking if the file is stored.

Ticket: #7491
doc/userguide/lua/libs/file.rst [new file with mode: 0644]
doc/userguide/lua/libs/index.rst
doc/userguide/lua/lua-functions.rst
src/Makefile.am
src/util-lua-builtins.c
src/util-lua-common.c
src/util-lua-filelib.c [new file with mode: 0644]
src/util-lua-filelib.h [new file with mode: 0644]