mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
not directly related to the change from C++ to Lua for the NSE main procedures. The changes are discussed in the nse-lua thread here: http://seclists.org/nmap-dev/2009/q1/0047.html
16 lines
347 B
C++
16 lines
347 B
C++
#ifndef NSE_NMAPLIB
|
|
#define NSE_NMAPLIB
|
|
|
|
class Target;
|
|
class Port;
|
|
|
|
int luaopen_nmap(lua_State* l);
|
|
int luaopen_stdnse_c (lua_State *L);
|
|
void set_hostinfo(lua_State* l, Target* currenths);
|
|
void set_portinfo(lua_State* l, Port* port);
|
|
Target *get_target (lua_State *L, int index);
|
|
Port *get_port (lua_State *L, Target *target, int index);
|
|
|
|
#endif
|
|
|