45
45
#define __attribute__(X)
48
typedef void (*errf) (const char *, long, const char *, va_list);
50
const char * error_message (long);
51
int init_error_table (const char**, long, int);
53
void com_err_va (const char *, long, const char *, va_list)
48
typedef void (KRB5_CALLCONV *errf) (const char *, long, const char *, va_list);
50
KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL
53
KRB5_LIB_FUNCTION int KRB5_LIB_CALL
54
init_error_table (const char**, long, int);
56
KRB5_LIB_FUNCTION void KRB5_LIB_CALL
57
com_err_va (const char *, long, const char *, va_list)
54
58
__attribute__((format(printf, 3, 0)));
56
void com_err (const char *, long, const char *, ...)
60
KRB5_LIB_FUNCTION void KRB5_LIB_CALL
61
com_err (const char *, long, const char *, ...)
57
62
__attribute__((format(printf, 3, 4)));
59
errf set_com_err_hook (errf);
60
errf reset_com_err_hook (void);
62
const char *error_table_name (int num);
64
void add_to_error_table (struct et_list *new_table);
64
KRB5_LIB_FUNCTION errf KRB5_LIB_CALL
65
set_com_err_hook (errf);
67
KRB5_LIB_FUNCTION errf KRB5_LIB_CALL
68
reset_com_err_hook (void);
70
KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL
71
error_table_name (int num);
73
KRB5_LIB_FUNCTION void KRB5_LIB_CALL
74
add_to_error_table (struct et_list *new_table);
66
76
#endif /* __COM_ERR_H__ */