first commit

This commit is contained in:
Jose Caban
2025-06-07 01:59:34 -04:00
commit 388ac241f0
3558 changed files with 9116289 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#ifndef _DEFS_H_
#define _DEFS_H_
#define _VERBOSE_ 0 // Print out generally useless stuff
#define _LOG_ 0 // Print out loging output, turn off for speed
#define VPRINTF(x) if(_VERBOSE_) printf x;
#define BZERO(x,z) memset(x,0,z)
#define _THREAD_POOL_ //Whether to spwan new threads for each connection
//or use pooling
#define LOCAL_GET "LOCAL_GET"
#define DieWithError(msg) { \
fprintf(stderr, "%s: PwnT! Error on line %d.\n", (msg), __LINE__); \
perror(msg); \
exit(EXIT_FAILURE);}
#endif