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