Revision 23095,
709 bytes
checked in by ghudson, 16 years ago
(diff) |
Import the moira package from SIPB Debathena.
|
Line | |
---|
1 | /* |
---|
2 | * Header file for common error description library. |
---|
3 | * |
---|
4 | * Copyright 1988, Student Information Processing Board of the |
---|
5 | * Massachusetts Institute of Technology. |
---|
6 | * |
---|
7 | * For copyright and distribution info, see the documentation supplied |
---|
8 | * with this package. |
---|
9 | */ |
---|
10 | |
---|
11 | #ifndef COM_ERR__H |
---|
12 | #define COM_ERR__H |
---|
13 | |
---|
14 | #include <stdarg.h> |
---|
15 | |
---|
16 | typedef void (*com_err_handler_t)(const char *, long, const char *, va_list); |
---|
17 | |
---|
18 | void com_err(const char *progname, long code, const char *fmt, ...); |
---|
19 | void com_err_va(const char *progname, long code, const char *fmt, |
---|
20 | va_list args); |
---|
21 | char const *error_message(long code); |
---|
22 | com_err_handler_t set_com_err_hook(com_err_handler_t handler); |
---|
23 | com_err_handler_t reset_com_err_hook(void); |
---|
24 | |
---|
25 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.