]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
hints: expose as C kr_rule_local_*()
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 18 Aug 2023 17:13:12 +0000 (19:13 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 12 Sep 2023 10:12:55 +0000 (12:12 +0200)
commit0247d0a5176af688d1c4e58380e31badee6108b8
tree163f2fe9107bd13fe5730ad85dcc32a8fe2c2fd9
parent3916e40c594f3d59d57329b2f8254ae8d6611533
hints: expose as C kr_rule_local_*()

At least the normal non-root hints.
We needed extended API for this functionality, and C API is simpler
for this, thanks to LuaJIT FFI.

However, this required moving code from the separate module.
The moved code is not changed in any way in this commit.
I considered it bad to keep such core code outside the main daemon+lib,
as it's not big.  Now LuaJIT FFI forced me to clean this up.
daemon/lua/kres-gen-30.lua
daemon/lua/kres-gen-31.lua
daemon/lua/kres-gen-32.lua
daemon/lua/kres-gen.sh
daemon/main.c
lib/meson.build
lib/rules/api.h
lib/rules/local-addr.c [new file with mode: 0644]
modules/hints/hints.c