summaryrefslogtreecommitdiffstats
path: root/nse_nmaplib.h
blob: 848809ff41d6ef0406ef159f3ea8c4a8b7502a09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef NSE_NMAPLIB
#define NSE_NMAPLIB

#define NSE_NMAPLIBNAME  "nmap"

class Target;
class Port;

int luaopen_nmap(lua_State* l);
#define NSE_NUM_HOSTINFO_FIELDS 17
void set_hostinfo(lua_State* l, Target* currenths);
#define NSE_NUM_PORTINFO_FIELDS 7
void set_portinfo(lua_State* l, const Target *target, const Port* port);

#endif