#ifndef __COM_ERR_H
#if defined(_WIN32)
#include <win-mac.h>
#endif
#ifndef KRB5_CALLCONV
#define KRB5_CALLCONV
#define KRB5_CALLCONV_C
#endif
#include <stdarg.h>
typedef long errcode_t;
typedef void (*et_old_error_hook_func) (const char *, errcode_t,
const char *, va_list ap);
struct error_table {
char const * const * msgs;
long base;
unsigned int n_msgs;
};
#ifdef __cplusplus
extern "C" {
#endif
extern void KRB5_CALLCONV_C com_err
(const char *, errcode_t, const char *, ...);
extern void KRB5_CALLCONV com_err_va
(const char *whoami, errcode_t code, const char *fmt,
va_list ap);
extern const char * KRB5_CALLCONV error_message
(errcode_t)
;
extern errcode_t KRB5_CALLCONV add_error_table
( const struct error_table *)
;
extern errcode_t KRB5_CALLCONV remove_error_table
(const struct error_table *)
;
#if !defined(_WIN32)
extern et_old_error_hook_func set_com_err_hook (et_old_error_hook_func);
extern et_old_error_hook_func reset_com_err_hook (void);
#endif
#ifdef __cplusplus
}
#endif
#define __COM_ERR_H
#endif