summaryrefslogtreecommitdiff
path: root/csvncgi/fatal.h
blob: 3b906fb141364302b71da5511d6280cb1e1cf5d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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 */