From 6d183c02a50a42743c3031532f458ab5cea0685d Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Thu, 30 May 2019 21:23:44 +0100 Subject: Convert debugprint() from being to file/screen/disabled to always being to file with configurable verbosity. --- sockets.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sockets.h') diff --git a/sockets.h b/sockets.h index 3ad5406..7e9cca5 100644 --- a/sockets.h +++ b/sockets.h @@ -17,6 +17,10 @@ #include "functions.h" +#define DEBUG_CRIT 0 +#define DEBUG_SOME 1 +#define DEBUG_FULL 2 + #define BACKLOG 10 // maximum length to which the queue of pending connections for sockfd may grow // get sockaddr, IPv4 or IPv6: -- cgit v1.2.3