1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 02:49:01 +00:00

[NSE] Patch to move the call NSE_SELECTED_BY_NAME to nse_main.cc for

improved locality. Other Lua Registry functions called by C were wrapped in
a C API inside nse_main.cc.
This commit is contained in:
batrick
2009-07-14 22:41:25 +00:00
parent ad10a7c672
commit 01c25ab29e
3 changed files with 11 additions and 13 deletions

View File

@@ -35,6 +35,7 @@ int nse_yield (lua_State *);
void nse_restore (lua_State *, int);
void nse_destructor (lua_State *, char);
void nse_base (lua_State *);
void nse_selectedbyname (lua_State *);
void open_nse (void);
void script_scan (std::vector<Target *> &targets);