bfc1508d (kx 2023-03-24 03:55:33 +0300 1)
bfc1508d (kx 2023-03-24 03:55:33 +0300 2) #ifndef __FATAL_H
bfc1508d (kx 2023-03-24 03:55:33 +0300 3) #define __FATAL_H
bfc1508d (kx 2023-03-24 03:55:33 +0300 4)
bfc1508d (kx 2023-03-24 03:55:33 +0300 5) #define HTTP_ERRMSG_SIZE 4096
bfc1508d (kx 2023-03-24 03:55:33 +0300 6)
bfc1508d (kx 2023-03-24 03:55:33 +0300 7) #ifdef __cplusplus
bfc1508d (kx 2023-03-24 03:55:33 +0300 8) extern "C" {
bfc1508d (kx 2023-03-24 03:55:33 +0300 9) #endif
bfc1508d (kx 2023-03-24 03:55:33 +0300 10)
bfc1508d (kx 2023-03-24 03:55:33 +0300 11)
bfc1508d (kx 2023-03-24 03:55:33 +0300 12) extern void fatal( const char *fmt, ... ) __attribute__((format (printf,1,2)));
bfc1508d (kx 2023-03-24 03:55:33 +0300 13)
bfc1508d (kx 2023-03-24 03:55:33 +0300 14) extern void fatal_json( const char *fmt, ... ) __attribute__((format (printf,1,2)));
bfc1508d (kx 2023-03-24 03:55:33 +0300 15) extern void fatal_html( const char *fmt, ... ) __attribute__((format (printf,1,2)));
bfc1508d (kx 2023-03-24 03:55:33 +0300 16)
bfc1508d (kx 2023-03-24 03:55:33 +0300 17)
bfc1508d (kx 2023-03-24 03:55:33 +0300 18) #ifdef __cplusplus
bfc1508d (kx 2023-03-24 03:55:33 +0300 19) }
bfc1508d (kx 2023-03-24 03:55:33 +0300 20) #endif
bfc1508d (kx 2023-03-24 03:55:33 +0300 21)
bfc1508d (kx 2023-03-24 03:55:33 +0300 22) #endif /* __FATAL_H */