2 * Header file for common error description library.
4 * Copyright 1988, Student Information Processing Board of the
5 * Massachusetts Institute of Technology.
7 * For copyright and distribution info, see the documentation supplied
13 typedef long errcode_t;
18 /* ANSI C -- use prototypes etc */
19 void com_err (const char *, long, const char *, ...);
20 void com_err_va (const char *whoami, errcode_t code, const char *fmt,
22 char const *error_message (long);
23 extern void (*com_err_hook) (const char *, long, const char *, va_list);
24 void (*set_com_err_hook (void (*) (const char *, long, const char *, va_list)))
25 (const char *, long, const char *, va_list);
26 void (*reset_com_err_hook (void)) (const char *, long, const char *, va_list);
27 int init_error_table(const char * const *msgs, int base, int count);
32 char *error_message ();
33 extern void (*com_err_hook) ();
34 void (*set_com_err_hook ()) ();
35 void (*reset_com_err_hook ()) ();
36 int init_error_table();
40 #endif /* ! defined(__COM_ERR_H) */