Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / lib / DtSearch / dberr.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: dberr.h /main/5 1996/09/23 21:00:53 cde-ibm $ */
24 /*
25  *   COMPONENT_NAME: austext
26  *
27  *   FUNCTIONS: none
28  *
29  *   ORIGINS: 27
30  *
31  *   (C) COPYRIGHT International Business Machines Corp. 1995
32  *   All Rights Reserved
33  *   Licensed Materials - Property of IBM
34  *   US Government Users Restricted Rights - Use, duplication or
35  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
36  */
37 /* $Log$
38  * Revision 2.2  1995/10/24  21:37:15  miker
39  * Add prolog.
40  * */
41 /* dberr error/status codes */
42 static char *user_error[] = {
43    "database not opened",
44    "invalid set",
45    "invalid record",
46    "invalid database",
47    "invalid field name",
48    "invalid db_address",
49    "no current record",
50    "set has no current owner",
51    "set has no current member",
52    "key value required",
53    "invalid lock value",
54    "record is owner of non-empty set(s)",
55    "record is member of set(s)",
56    "member already owned",
57    "field is a compound key",
58    "record not connected to set",
59    "field is not a valid key",
60    "record not legal owner of set",
61    "record not legal member of set",
62    "error in d_setpages (database open or bad param)",
63    "incompatible dictionary file",
64    "illegal attempt to delete system record",
65    "illegal attempt to lock locked set/record",
66    "attempt to access unlocked set/record",
67    "transaction id not supplied",
68    "transaction already active",
69    "transaction not active",
70    "transaction cannot begin due to locked files",
71    "cannot free locks within a transaction",
72    "too many changed database pages",
73    "cannot update database outside a transaction",
74    "exclusive access required",
75    "write locks not allowed on static files",
76    "unspecified or duplicate user id",
77    "database, path or file name too long",
78    "invalid file number was passed to d_renfile",
79    "field is not an optional key field",
80    "field is not defined in current record type",
81    "record/field has/in a compound key",
82    "invalid record or set number",
83    "record/set not timestamped",
84    "bad DBUSERID (contains non-alphanumeric)",
85    "NetBIOS has not been installed on machine",
86    "wrong number of elements in DBDPATH",
87    "wrong number of elements in DBFPATH",
88    "no current record type",
89    "invalid country table sort string",
90    "database not closed"
91 };
92 static char *system_error[] = {
93    "no more space on file",
94    "system error",
95    "page fault",
96    "no working file in dio",
97    "unable to allocate sufficient memory",
98    "error opening file",
99    "unable to get access to database taf file",
100    "database taf/log file error",
101    "inconsistent database locks",
102    "file record limit exceeded",
103    "key file inconsistency",
104    "maximum concurrent user limit exceeded",
105    "error seeking in database file",
106    "invalid file specified",
107    "error reading from a database/overflow file",
108    "lock manager synchronization error",
109    "debug check interrupt",
110    "network communications error",
111    "auto-recovery in process",
112    "error writing to a database/overflow file",
113    "no lock manager is installed",
114    "DBUSERID is already being used",
115    "the lock manager is busy"
116 };
117 /* vpp -nOS2 -dUNIX -nBSD -nVANILLA_BSD -nVMS -nMEMLOCK -nWINDOWS -nFAR_ALLOC -f/usr/users/master/config/nonwin dberr.h */