core: use only one struct data instead of thead_data and scan_data

core: do parsing in the main, put all in struct general
fix: code support port > 1024
This commit is contained in:
2025-06-03 16:49:41 +02:00
parent d640c95224
commit 9ae1e29f71
12 changed files with 143 additions and 168 deletions

View File

@ -22,7 +22,6 @@ typedef enum {
};
struct response {
uint16_t port;
e_state states[SCAN_ALL];
char *service;
};