mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +00:00
Removing numberlist2array(); it's unused since David switched the ping port selection to use the same mechanism as port scans (e.g. using -PShttp*).
This commit is contained in:
11
utils.h
11
utils.h
@@ -255,17 +255,6 @@ char* print_ip_options(u8* ipopt, int ipoptlen);
|
||||
char *strerror(int errnum);
|
||||
#endif
|
||||
|
||||
/* Convert a comma-separated list of ASCII u16-sized numbers into the
|
||||
given 'dest' array, which is of total size (meaning sizeof() as
|
||||
opposed to numelements) of destsize. If min_elem and max_elem are
|
||||
provided, each number must be within (or equal to) those
|
||||
constraints. The number of numbers stored in 'dest' is returned,
|
||||
except that -1 is returned in the case of an error. If -1 is
|
||||
returned and errorstr is non-null, *errorstr is filled with a ptr to a
|
||||
static string literal describing the error. */
|
||||
int numberlist2array(char *expr, u16 *dest, int destsize, char **errorstr,
|
||||
u16 min_elem=0, u16 max_elem=65535);
|
||||
|
||||
/* mmap() an entire file into the address space. Returns a pointer
|
||||
to the beginning of the file. The mmap'ed length is returned
|
||||
inside the length parameter. If there is a problem, NULL is
|
||||
|
||||
Reference in New Issue
Block a user