1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-19 20:59:01 +00:00

Add ncat_main.c facilities for -L. Currently still with the ugly

o.script name.
This commit is contained in:
david
2013-09-12 08:12:11 +00:00
parent ecd7a45ec2
commit 8d796f8981
5 changed files with 31 additions and 5 deletions

View File

@@ -165,9 +165,10 @@ static int traceback (lua_State *L)
return 1;
}
void lua_setup(char *cmdexec)
void lua_setup(char *cmdexec, int script)
{
ncat_assert(cmdexec != NULL);
ncat_assert(script == 0); //TODO
lua_State **L = &luaexec_L;