xref: /onnv-gate/usr/src/lib/krb5/kdb/adb_err.h (revision 4960:a4746a82a247)
1*4960Swillf #pragma ident	"%Z%%M%	%I%	%E% SMI"
2*4960Swillf 
3*4960Swillf /*
4*4960Swillf  * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
5*4960Swillf  *
6*4960Swillf  *	Openvision retains the copyright to derivative works of
7*4960Swillf  *	this source code.  Do *NOT* create a derivative of this
8*4960Swillf  *	source code before consulting with your legal department.
9*4960Swillf  *	Do *NOT* integrate *ANY* of this source code into another
10*4960Swillf  *	product before consulting with your legal department.
11*4960Swillf  *
12*4960Swillf  *	For further information, read the top-level Openvision
13*4960Swillf  *	copyright which is contained in the top-level MIT Kerberos
14*4960Swillf  *	copyright.
15*4960Swillf  *
16*4960Swillf  * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
17*4960Swillf  *
18*4960Swillf  */
19*4960Swillf 
20*4960Swillf #include <com_err.h>
21*4960Swillf 
22*4960Swillf #define OSA_ADB_NOERR                            (28810240L)
23*4960Swillf #define OSA_ADB_DUP                              (28810241L)
24*4960Swillf #define OSA_ADB_NOENT                            (28810242L)
25*4960Swillf #define OSA_ADB_DBINIT                           (28810243L)
26*4960Swillf #define OSA_ADB_BAD_POLICY                       (28810244L)
27*4960Swillf #define OSA_ADB_BAD_PRINC                        (28810245L)
28*4960Swillf #define OSA_ADB_BAD_DB                           (28810246L)
29*4960Swillf #define OSA_ADB_XDR_FAILURE                      (28810247L)
30*4960Swillf #define OSA_ADB_FAILURE                          (28810248L)
31*4960Swillf #define OSA_ADB_BADLOCKMODE                      (28810249L)
32*4960Swillf #define OSA_ADB_CANTLOCK_DB                      (28810250L)
33*4960Swillf #define OSA_ADB_NOTLOCKED                        (28810251L)
34*4960Swillf #define OSA_ADB_NOLOCKFILE                       (28810252L)
35*4960Swillf #define OSA_ADB_NOEXCL_PERM                      (28810253L)
36*4960Swillf #define ERROR_TABLE_BASE_adb (28810240L)
37*4960Swillf 
38*4960Swillf extern const struct error_table et_adb_error_table;
39*4960Swillf 
40*4960Swillf #if !defined(_WIN32)
41*4960Swillf /* for compatibility with older versions... */
42*4960Swillf extern void initialize_adb_error_table (void) /*@modifies internalState@*/;
43*4960Swillf #else
44*4960Swillf #define initialize_adb_error_table()
45*4960Swillf #endif
46*4960Swillf 
47*4960Swillf #if !defined(_WIN32)
48*4960Swillf #define init_adb_err_tbl initialize_adb_error_table
49*4960Swillf #define adb_err_base ERROR_TABLE_BASE_adb
50*4960Swillf #endif
51