bfc1508d (kx 2023-03-24 03:55:33 +0300 1)
bfc1508d (kx 2023-03-24 03:55:33 +0300 2) #ifndef __HTML_H
bfc1508d (kx 2023-03-24 03:55:33 +0300 3) #define __HTML_H
bfc1508d (kx 2023-03-24 03:55:33 +0300 4)
bfc1508d (kx 2023-03-24 03:55:33 +0300 5) #ifdef __cplusplus
bfc1508d (kx 2023-03-24 03:55:33 +0300 6) extern "C" {
bfc1508d (kx 2023-03-24 03:55:33 +0300 7) #endif
bfc1508d (kx 2023-03-24 03:55:33 +0300 8)
bfc1508d (kx 2023-03-24 03:55:33 +0300 9)
bfc1508d (kx 2023-03-24 03:55:33 +0300 10) typedef void (*html_errfunc)( const char *fmt, ... );
bfc1508d (kx 2023-03-24 03:55:33 +0300 11)
bfc1508d (kx 2023-03-24 03:55:33 +0300 12) extern void html_error( const char *fmt, ... ) __attribute__((format (printf,1,2)));
bfc1508d (kx 2023-03-24 03:55:33 +0300 13) extern html_errfunc html_fatal; /* Default Fatal Error Function == html_error() */
bfc1508d (kx 2023-03-24 03:55:33 +0300 14)
bfc1508d (kx 2023-03-24 03:55:33 +0300 15)
bfc1508d (kx 2023-03-24 03:55:33 +0300 16) extern void html_raw( const char *data, size_t size );
bfc1508d (kx 2023-03-24 03:55:33 +0300 17) extern void html( const char *txt );
bfc1508d (kx 2023-03-24 03:55:33 +0300 18) extern void htmlf( const char *format, ... ) __attribute__((format (printf,1,2)));
bfc1508d (kx 2023-03-24 03:55:33 +0300 19)
bfc1508d (kx 2023-03-24 03:55:33 +0300 20)
bfc1508d (kx 2023-03-24 03:55:33 +0300 21) #ifdef __cplusplus
bfc1508d (kx 2023-03-24 03:55:33 +0300 22) }
bfc1508d (kx 2023-03-24 03:55:33 +0300 23) #endif
bfc1508d (kx 2023-03-24 03:55:33 +0300 24)
bfc1508d (kx 2023-03-24 03:55:33 +0300 25) #endif /* __HTML_H */