5 kx
5 kx #ifndef __HTML_H
5 kx #define __HTML_H
5 kx
5 kx #ifdef __cplusplus
5 kx extern "C" {
5 kx #endif
5 kx
5 kx
5 kx typedef void (*html_errfunc)( const char *fmt, ... );
5 kx
5 kx extern void html_error( const char *fmt, ... ) __attribute__((format (printf,1,2)));
5 kx extern html_errfunc html_fatal; /* Default Fatal Error Function == html_error() */
5 kx
5 kx
5 kx extern void html_raw( const char *data, size_t size );
5 kx extern void html( const char *txt );
5 kx extern void htmlf( const char *format, ... ) __attribute__((format (printf,1,2)));
5 kx
5 kx
5 kx #ifdef __cplusplus
5 kx }
5 kx #endif
5 kx
5 kx #endif /* __HTML_H */