1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-06 14:39:03 +00:00

This patch reorganizes the way ping probes are handled internally.

Previously the ping probe data structures were stored in NmapOps,
now they will be stored in the scan_lists struct. All other changes
auxiliary to this reorganization.
This commit is contained in:
michael
2008-05-29 07:49:37 +00:00
parent 29d2b20c98
commit 9f1c28ad9c
15 changed files with 253 additions and 240 deletions

2
nmap.h
View File

@@ -404,7 +404,7 @@ void printinteractiveusage();
int ftp_anon_connect(struct ftpinfo *ftp);
/* port manipulators */
struct scan_lists *getpts(const char *expr); /* someone stole the name getports()! */
void getpts(const char *expr, struct scan_lists * ports); /* someone stole the name getports()! */
void getpts_simple(const char *origexpr, int range_type,
unsigned short **list, int *count);
void free_scan_lists(struct scan_lists *ports);