Constitutional Crisis: Fix typos and formatting errors
[ccbib.git] / psutils / pserror.h
blob21eee15aaa4a6a9a8fe4dfd04de2e16512ea0a65
1 /* pserror.h
2 * Copyright (C) Angus J. C. Duggan 1991-1995
3 * See file LICENSE for details.
5 * Header file for external functions in pserror.c
6 */
8 #include <stdarg.h>
10 /* message flags */
11 #define MESSAGE_NL 1 /* Newline before message if necessary */
12 #define MESSAGE_PROGRAM 2 /* announce program name */
13 #define MESSAGE_EXIT 4 /* do not return */
15 /* message types */
16 #define FATAL (MESSAGE_EXIT|MESSAGE_PROGRAM|MESSAGE_NL)
17 #define WARN (MESSAGE_NL|MESSAGE_PROGRAM)
18 #define LOG 0
20 extern void message(int flags, char *format, ...) ;