3 #ifndef _MSG_H_INCLUDED_
4 #define _MSG_H_INCLUDED_
10 /* diagnostics interface
19 typedef void (*MSG_CLEANUP_FN
) (void);
21 extern int msg_verbose
;
23 extern void PRINTFLIKE(1, 2) msg_info(const char *,...);
24 extern void PRINTFLIKE(1, 2) msg_warn(const char *,...);
25 extern void PRINTFLIKE(1, 2) msg_error(const char *,...);
26 extern NORETURN
PRINTFLIKE(1, 2) msg_fatal(const char *,...);
27 extern NORETURN
PRINTFLIKE(2, 3) msg_fatal_status(int, const char *,...);
28 extern NORETURN
PRINTFLIKE(1, 2) msg_panic(const char *,...);
30 extern int msg_error_limit(int);
31 extern void msg_error_clear(void);
32 extern MSG_CLEANUP_FN
msg_cleanup(MSG_CLEANUP_FN
);
37 /* The Secure Mailer license must be distributed with this software.
40 /* IBM T.J. Watson Research
42 /* Yorktown Heights, NY 10598, USA