diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-05-30 21:23:44 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-05-30 21:23:44 +0100 |
commit | 6d183c02a50a42743c3031532f458ab5cea0685d (patch) | |
tree | d1463e8f53df26ec5f8c3c13a77880d11d3bc57f /sockets.h | |
parent | ef93f4d61f03faa0edd60f11c7790ad3b67b44d4 (diff) |
Convert debugprint() from being to file/screen/disabled to always being to file with configurable verbosity.
Diffstat (limited to 'sockets.h')
-rw-r--r-- | sockets.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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: |