Xbase64 Class Library 3.1.2
xbretcod.h
Go to the documentation of this file.
1/* xbretcod.h
2
3 Xbase64 project source code
4
5 This file contains a listing of all the Xbase return codes.
6
7 Copyright (C) 1997,2003 Gary A Kunkel
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Lesser General Public License for more details.
18
19 You should have received a copy of the GNU Lesser General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
23
24 Contact:
25
26 Email:
27
28 xdb-devel@lists.sourceforge.net
29 xdb-users@lists.sourceforge.net
30
31
32 Regular Mail:
33
34 XBase Support
35 149C South Main St
36 Keller Texas, 76248
37 USA
38
39*/
40
43
44#ifndef __XB_RETCODES_H__
45#define __XB_RETCODES_H__
46
47/***********************************************/
48/* Return Codes and Error Messages */
49
50#define XB_NO_ERROR 0
51#define XB_EOF -100
52#define XB_BOF -101
53#define XB_NO_MEMORY -102
54#define XB_FILE_EXISTS -103
55#define XB_OPEN_ERROR -104
56#define XB_WRITE_ERROR -105
57#define XB_UNKNOWN_FIELD_TYPE -106
58#define XB_ALREADY_OPEN -107
59#define XB_NOT_XBASE -108
60#define XB_INVALID_RECORD -109
61#define XB_INVALID_OPTION -110
62#define XB_NOT_OPEN -111
63#define XB_SEEK_ERROR -112
64#define XB_READ_ERROR -113
65#define XB_NOT_FOUND -114
66#define XB_FOUND -115
67#define XB_INVALID_KEY -116
68#define XB_INVALID_NODELINK -117
69#define XB_KEY_NOT_UNIQUE -118
70#define XB_INVALID_KEY_EXPRESSION -119
71#define XB_DBF_FILE_NOT_OPEN -120
72#define XB_INVALID_KEY_TYPE -121
73#define XB_INVALID_NODE_NO -122
74#define XB_NODE_FULL -123
75#define XB_INVALID_FIELDNO -124
76#define XB_INVALID_DATA -125
77#define XB_NOT_LEAFNODE -126
78#define XB_LOCK_FAILED -127
79#define XB_CLOSE_ERROR -128
80#define XB_INVALID_SCHEMA -129
81#define XB_INVALID_NAME -130
82#define XB_INVALID_BLOCK_SIZE -131
83#define XB_INVALID_BLOCK_NO -132
84#define XB_NOT_MEMO_FIELD -133
85#define XB_NO_MEMO_DATA -134
86#define XB_EXP_SYNTAX_ERROR -135
87#define XB_PARSE_ERROR -136
88#define XB_NO_DATA -137
89#define XB_UNKNOWN_TOKEN_TYPE -138
90#define XB_INVALID_FIELD -140
91#define XB_INSUFFICIENT_PARMS -141
92#define XB_TOO_MANY_PARMS -142
93#define XB_INVALID_FUNCTION -143
94#define XB_INVALID_FIELD_LEN -144
95#define XB_HARVEST_NODE -145
96#define XB_INVALID_DATE -146
97#define XB_INVALID_LOCK_OPTION -147
98#endif /* __XB_RETCODES_H__ */
99