"referenced entity .* not found" message fixed to be fatal
[tac_plus.git] / report.h
1 #ifndef REPORT_H
2 #define REPORT_H 1
3
4 #include "tac_plus.h"
5
6 #include <stdio.h>
7 #include <sys/types.h>          /* for u_* */
8 #ifdef HAVE_SYSLOG_H
9 #include <syslog.h>             /* for LOG_* level values */
10 #endif
11 #ifdef HAVE_SYS_SYSLOG_H
12 #include <sys/syslog.h>         /* for LOG_* level values */
13 #endif
14
15
16 extern FILE *ostream;              /* for logging to console */
17 extern char *logfile;
18
19
20 extern void report TAC_ARGS((int priority, const char *fmt, ...)) G_GNUC_PRINTF(2, 3);
21 extern void report_hex TAC_ARGS((int priority, u_char *p, int len));
22 extern void report_string TAC_ARGS((int priority, u_char *p, int len));
23 extern void tac_regerror TAC_ARGS((const char *s));
24
25
26 #endif /* REPORT_H */