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:
3
output.h
3
output.h
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user