File: nse_nmaplib.h

package info (click to toggle)
nmap 7.93%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 44,552 kB
  • sloc: cpp: 60,990; ansic: 30,785; python: 17,679; xml: 11,558; sh: 11,320; perl: 2,679; makefile: 1,000; java: 45; objc: 43
file content (16 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (4)
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