]> andersk Git - moira.git/blob - util/et/com_err.h
sync'ing files for RCS->CVS migration
[moira.git] / util / et / com_err.h
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
13 #ifdef __STDC__
14 #ifndef __HIGHC__               /* gives us STDC but not stdarg */
15 #include <stdarg.h>
16 #else
17 #include <varargs.h>
18 #endif
19 /* ANSI C -- use prototypes etc */
20 void com_err (const char *, long, const char *, ...);
21 char const *error_message (long);
22 void (*com_err_hook) (const char *, long, const char *, va_list);
23 void (*set_com_err_hook (void (*) (const char *, long, const char *, va_list)))
24     (const char *, long, const char *, va_list);
25 void (*reset_com_err_hook ()) (const char *, long, const char *, va_list);
26 #else
27 /* no prototypes */
28 void com_err ();
29 char *error_message ();
30 void (*com_err_hook) ();
31 void (*set_com_err_hook ()) ();
32 void (*reset_com_err_hook ()) ();
33 #endif
34
35 #define __COM_ERR_H
36 #endif /* ! defined(__COM_ERR_H) */
This page took 0.197433 seconds and 5 git commands to generate.