4 * Copyright (c) Tuomo Valkonen 1999-2004.
6 * You may distribute and modify this library under the terms of either
7 * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.
10 #ifndef LIBTU_ERRORLOG_H
11 #define LIBTU_ERRORLOG_H
19 #define ERRORLOG_MAX_SIZE (1024*4)
28 WarnHandler
*old_handler
;
31 /* el is assumed to be uninitialised */
32 extern void errorlog_begin(ErrorLog
*el
);
33 extern void errorlog_begin_file(ErrorLog
*el
, FILE *file
);
34 /* For errorlog_end el Must be the one errorlog_begin was last called with */
35 extern bool errorlog_end(ErrorLog
*el
);
36 extern void errorlog_deinit(ErrorLog
*el
);
38 #endif /* LIBTU_ERRORLOG_H */