210cc980e703a95727445423817fe5974d02820f
[openafs.git] / src / comerr / 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 #include <stdarg.h>
14
15 extern void com_err (const char *, afs_int32, const char *, ...);
16 extern void com_err_va (const char *whoami, afs_int32 code, const char *fmt, va_list args);
17 extern const char *error_table_name(afs_int32);
18 extern const char *error_message (afs_int32);
19 extern void (*set_com_err_hook (void (*) (const char *, afs_int32, const char *, va_list)))
20     (const char *, afs_int32, const char *, va_list);
21 extern void (*reset_com_err_hook (void)) (const char *, afs_int32, const char *, va_list);
22
23 #define __COM_ERR_H
24 #endif /* ! defined(__COM_ERR_H) */