]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lua sandbox: export the list of original names
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 11 Nov 2016 14:19:27 +0000 (15:19 +0100)
committerŠtěpán Balážik <stepan.balazik@nic.cz>
Fri, 3 Feb 2017 15:36:01 +0000 (16:36 +0100)
commitebb99399899de2b0859ab5e926c95a10eb2291a6
tree699a72df122e24c7db6c2f7c2c075d3a4a0bed75
parentb27acd9f7c22e29b39795b286500c1003d245a48
lua sandbox: export the list of original names

That will allow us to discover the top-level symbols for completion.
For others we can e.g.: for n in pairs(net) do print(n); end
I must admit I fail to understand some of the related lua magic.
daemon/lua/sandbox.lua