Lots and lots of whitespace and code style fixes

This commit is contained in:
2017-05-17 17:54:37 +03:00
parent 2442ceaee2
commit ff8546bf66
7 changed files with 191 additions and 180 deletions

9
log.h
View File

@@ -4,14 +4,15 @@
#undef log
#define log log_trace
typedef enum {
ERROR = 1, /* Errors only */
enum LOG_LEVEL {
ERROR = 1, /* Errors only */
WARNING, /* Errors & warnings */
INFO, /* Errors, warnings & events */
VERBOSE, /* Errors, warnings, events & more? */
} LOG_LEVEL;
};
void log_ssl(void);
void log(LOG_LEVEL lvl, char *fmt, ... );
void log(enum LOG_LEVEL lvl, char *fmt, ...);
#endif /* LOG_TRACE_H */