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