import cyrus-sasl-2.1.23
[cyrus-sasl.git] / mac / kerberos_includes / error_table.h
1 /*
2  * Copyright (c) 1991, by Sun Microsystems, Inc.
3  */
4
5 #ifndef _KERBEROS_ERROR_TABLE_H
6 #define _KERBEROS_ERROR_TABLE_H
7
8 #pragma ident   "@(#)error_table.h      1.4     93/08/30 SMI"
9
10 #ifdef  __cplusplus
11 extern "C" {
12 #endif
13
14 typedef struct {
15         char    **msgs;
16         int     base;
17         int     n_msgs;
18 } error_table;
19 extern error_table **_et_list;
20
21 #define ERROR_CODE      "int"   /* type used for error codes */
22
23 #define ERRCODE_RANGE   8       /* # of bits to shift table number */
24 #define BITS_PER_CHAR   6       /* # bits to shift per character in name */
25
26 extern char *error_table_name();
27
28 #ifdef  __cplusplus
29 }
30 #endif
31
32 #endif  /* _KERBEROS_ERROR_TABLE_H */