mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
const all the things!
This commit is contained in:
@@ -107,11 +107,11 @@ public:
|
||||
|
||||
/* ports is used to pass information about what ports to use for host discovery */
|
||||
Target *nexthost(HostGroupState *hs, struct addrset *exclude_group,
|
||||
struct scan_lists *ports, int pingtype);
|
||||
const struct scan_lists *ports, int pingtype);
|
||||
int load_exclude_file(struct addrset *exclude_group, FILE *fp);
|
||||
int load_exclude_string(struct addrset *exclude_group, const char *s);
|
||||
/* a debugging routine to dump an exclude list to stdout. */
|
||||
int dumpExclude(struct addrset *exclude_group);
|
||||
int dumpExclude(const struct addrset *exclude_group);
|
||||
/* Returns the last host obtained by nexthost. It will be given again the next
|
||||
time you call nexthost(). */
|
||||
void returnhost(HostGroupState *hs);
|
||||
|
||||
Reference in New Issue
Block a user