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
11 #ifndef PURPLE_ZEPHYR_COM_ERR_H
12 #define PURPLE_ZEPHYR_COM_ERR_H
14 #define COM_ERR_BUF_LEN 25
18 typedef void (*error_handler_t
)(const char *, long, const char *, va_list);
19 extern error_handler_t com_err_hook
;
20 void com_err(const char *, long, const char *, ...);
21 const char *error_message(long);
22 const char *error_message_r(long, char *);
23 error_handler_t
set_com_err_hook(error_handler_t
);
24 error_handler_t
reset_com_err_hook(void);
26 #endif /* PURPLE_ZEPHYR_COM_ERR_H */