5 kx
5 kx #ifndef __FATAL_H
5 kx #define __FATAL_H
5 kx
5 kx #define HTTP_ERRMSG_SIZE 4096
5 kx
5 kx #ifdef __cplusplus
5 kx extern "C" {
5 kx #endif
5 kx
5 kx
5 kx extern void fatal( const char *fmt, ... ) __attribute__((format (printf,1,2)));
5 kx
5 kx extern void fatal_json( const char *fmt, ... ) __attribute__((format (printf,1,2)));
5 kx extern void fatal_html( const char *fmt, ... ) __attribute__((format (printf,1,2)));
5 kx
5 kx
5 kx #ifdef __cplusplus
5 kx }
5 kx #endif
5 kx
5 kx #endif /* __FATAL_H */