core: remove nb_threads from struct scan and pass it as a parameter
This commit is contained in:
@ -27,7 +27,6 @@ struct scan {
|
||||
uint8_t ttl;
|
||||
uint8_t max_retries;
|
||||
struct response *responses;
|
||||
uint8_t nb_threads;
|
||||
};
|
||||
|
||||
int scan(struct scan *data);
|
||||
|
@ -2,9 +2,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "host.h"
|
||||
#include "parsing.h"
|
||||
#include "response.h"
|
||||
#include "scan.h"
|
||||
|
||||
int create_threads(struct scan *general);
|
||||
int create_threads(struct scan *general, uint8_t nb_threads);
|
||||
|
Reference in New Issue
Block a user