diff options
| author | 2022-09-19 21:30:19 +0200 | |
|---|---|---|
| committer | 2022-09-19 21:30:19 +0200 | |
| commit | b1a1717fd95884d092f8cc08587d3d87afad0dc9 (patch) | |
| tree | 1a0a2e7511d531b011dd16843d969710cfbf6fdd /snac.h | |
| parent | Added time functions. (diff) | |
| download | snac2-b1a1717fd95884d092f8cc08587d3d87afad0dc9.tar.gz snac2-b1a1717fd95884d092f8cc08587d3d87afad0dc9.tar.xz snac2-b1a1717fd95884d092f8cc08587d3d87afad0dc9.zip | |
Improved server debug functions.
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -11,6 +11,8 @@ d_char *xs_time(char *fmt, int local); | |||
| 11 | #define xs_local_time(fmt) xs_time(fmt, 1) | 11 | #define xs_local_time(fmt) xs_time(fmt, 1) |
| 12 | #define xs_utc_time(fmt) xs_time(fmt, 0) | 12 | #define xs_utc_time(fmt) xs_time(fmt, 0) |
| 13 | 13 | ||
| 14 | void srv_log(d_char *str); | 14 | void srv_debug(int level, d_char *str); |
| 15 | #define srv_log(str) srv_debug(0, str) | ||
| 16 | |||
| 15 | int srv_open(char *basedir); | 17 | int srv_open(char *basedir); |
| 16 | 18 | ||