1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 01:49:03 +00:00

Abstract nsock logging function to avoid nsock.h inclusion in output.h

This commit is contained in:
dmiller
2020-01-11 16:03:28 +00:00
parent 6ed754b438
commit a2c75e0ef4
6 changed files with 11 additions and 7 deletions

View File

@@ -173,7 +173,6 @@
#ifndef NOLUA
#include "nse_main.h"
#endif
#include <nsock.h>
class PortList;
class Target;
@@ -311,7 +310,7 @@ void printdatafilepaths();
/* nsock logging interface */
void nmap_adjust_loglevel(bool trace);
void nmap_nsock_stderr_logger(const struct nsock_log_rec *rec);
void nmap_set_nsock_logger();
#endif /* OUTPUT_H */