diff options
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -8,6 +8,8 @@ extern int srv_running; | |||
| 8 | 8 | ||
| 9 | extern int dbglevel; | 9 | extern int dbglevel; |
| 10 | 10 | ||
| 11 | #define valid_status(status) ((status) >= 200 && (status) <= 299) | ||
| 12 | |||
| 11 | d_char *xs_time(char *fmt, int local); | 13 | d_char *xs_time(char *fmt, int local); |
| 12 | #define xs_local_time(fmt) xs_time(fmt, 1) | 14 | #define xs_local_time(fmt) xs_time(fmt, 1) |
| 13 | #define xs_utc_time(fmt) xs_time(fmt, 0) | 15 | #define xs_utc_time(fmt) xs_time(fmt, 0) |