diff options
| author | Theodore Tso <tytso@mit.edu> | 1993-06-03 19:29:40 +0000 |
|---|---|---|
| committer | Theodore Tso <tytso@mit.edu> | 1993-06-03 19:29:40 +0000 |
| commit | 746386f12e01102acbe5637aac6f1259c74bb552 (patch) | |
| tree | 715df6527f739854dc978c588047607e1907e9e9 /src/include/com_err.h | |
| parent | acbed92e113f54d33789d427e697a23a0f07ab64 (diff) | |
| download | krb5-746386f12e01102acbe5637aac6f1259c74bb552.tar.gz krb5-746386f12e01102acbe5637aac6f1259c74bb552.tar.xz krb5-746386f12e01102acbe5637aac6f1259c74bb552.zip | |
Initial revision
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2611 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/com_err.h')
| -rw-r--r-- | src/include/com_err.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/include/com_err.h b/src/include/com_err.h new file mode 100644 index 000000000..7bea01004 --- /dev/null +++ b/src/include/com_err.h @@ -0,0 +1,36 @@ +/* + * Header file for common error description library. + * + * Copyright 1988, Student Information Processing Board of the + * Massachusetts Institute of Technology. + * + * For copyright and distribution info, see the documentation supplied + * with this package. + */ + +#ifndef __COM_ERR_H + +#ifdef __STDC__ +#ifndef __HIGHC__ /* gives us STDC but not stdarg */ +#include <stdarg.h> +#else +#include <varargs.h> +#endif +/* ANSI C -- use prototypes etc */ +void com_err (const char *, long, const char *, ...); +char const *error_message (long); +void (*com_err_hook) (const char *, long, const char *, va_list); +void (*set_com_err_hook (void (*) (const char *, long, const char *, va_list))) + (const char *, long, const char *, va_list); +void (*reset_com_err_hook ()) (const char *, long, const char *, va_list); +#else +/* no prototypes */ +void com_err (); +char *error_message (); +void (*com_err_hook) (); +void (*set_com_err_hook ()) (); +void (*reset_com_err_hook ()) (); +#endif + +#define __COM_ERR_H +#endif /* ! defined(__COM_ERR_H) */ |
