retcodes.h

Go to the documentation of this file.
00001 /*  $Id: retcodes.h,v 1.4 2000/10/31 00:59:48 dbryson Exp $
00002 
00003     Xbase project source code
00004 
00005     This file contains a listing of all the Xbase return codes.
00006 
00007     Copyright (C) 1997  StarTech, Gary A. Kunkel   
00008 
00009     This library is free software; you can redistribute it and/or
00010     modify it under the terms of the GNU Lesser General Public
00011     License as published by the Free Software Foundation; either
00012     version 2.1 of the License, or (at your option) any later version.
00013 
00014     This library is distributed in the hope that it will be useful,
00015     but WITHOUT ANY WARRANTY; without even the implied warranty of
00016     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017     Lesser General Public License for more details.
00018 
00019     You should have received a copy of the GNU Lesser General Public
00020     License along with this library; if not, write to the Free Software
00021     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022 
00023     Contact:
00024 
00025       Mail:
00026 
00027         Technology Associates, Inc.
00028         XBase Project
00029         1455 Deming Way #11
00030         Sparks, NV 89434
00031         USA
00032 
00033       Email:
00034 
00035         xbase@techass.com
00036 
00037       See our website at:
00038 
00039         xdb.sourceforge.net
00040 
00041 
00042     V 1.0    10/10/97   - Initial release of software
00043     V 1.5    1/2/98     - Added memo field support
00044     V 1.6a   4/1/98     - Added expression support
00045     V 1.6b   4/8/98     - Numeric index keys
00046     V 1.8.0a 1/27/99    - Changed return codes to negative values
00047 */
00048 
00052 #ifndef __XB_RETCODES_H__
00053 #define __XB_RETCODES_H__
00054 
00055 /***********************************************/
00056 /* Return Codes and Error Messages             */
00057 
00058 #define XB_NO_ERROR                 0
00059 #define XB_EOF                    -100
00060 #define XB_BOF                    -101
00061 #define XB_NO_MEMORY              -102
00062 #define XB_FILE_EXISTS            -103
00063 #define XB_OPEN_ERROR             -104
00064 #define XB_WRITE_ERROR            -105
00065 #define XB_UNKNOWN_FIELD_TYPE     -106
00066 #define XB_ALREADY_OPEN           -107
00067 #define XB_NOT_XBASE              -108
00068 #define XB_INVALID_RECORD         -109
00069 #define XB_INVALID_OPTION         -110
00070 #define XB_NOT_OPEN               -111
00071 #define XB_SEEK_ERROR             -112
00072 #define XB_READ_ERROR             -113
00073 #define XB_NOT_FOUND              -114
00074 #define XB_FOUND                  -115
00075 #define XB_INVALID_KEY            -116
00076 #define XB_INVALID_NODELINK       -117
00077 #define XB_KEY_NOT_UNIQUE         -118
00078 #define XB_INVALID_KEY_EXPRESSION -119
00079 #define XB_DBF_FILE_NOT_OPEN      -120
00080 #define XB_INVALID_KEY_TYPE       -121
00081 #define XB_INVALID_NODE_NO        -122
00082 #define XB_NODE_FULL              -123
00083 #define XB_INVALID_FIELDNO        -124
00084 #define XB_INVALID_DATA           -125
00085 #define XB_NOT_LEAFNODE           -126
00086 #define XB_LOCK_FAILED            -127
00087 #define XB_CLOSE_ERROR            -128
00088 #define XB_INVALID_SCHEMA         -129
00089 #define XB_INVALID_NAME           -130
00090 #define XB_INVALID_BLOCK_SIZE     -131
00091 #define XB_INVALID_BLOCK_NO       -132
00092 #define XB_NOT_MEMO_FIELD         -133
00093 #define XB_NO_MEMO_DATA           -134
00094 #define XB_EXP_SYNTAX_ERROR       -135
00095 #define XB_PARSE_ERROR            -136
00096 #define XB_NO_DATA                -137
00097 #define XB_UNKNOWN_TOKEN_TYPE     -138
00098 #define XB_INVALID_FIELD          -140
00099 #define XB_INSUFFICIENT_PARMS     -141
00100 #define XB_INVALID_FUNCTION       -142
00101 #define XB_INVALID_FIELD_LEN      -143
00102 #define XB_HARVEST_NODE           -144
00103 #define XB_INVALID_DATE           -145
00104 #endif   /* __XB_RETCODES_H__ */

Generated on Fri Aug 17 03:28:42 2007 for Xbase Class Library by  doxygen 1.5.2