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