From bfa452a375ea0a0a3f95304a69186936567e5263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 14 Aug 2023 19:45:36 +0200 Subject: New upstream version 4.1.4 --- src/include/xbretcod.h | 97 -------------------------------------------------- 1 file changed, 97 deletions(-) delete mode 100755 src/include/xbretcod.h (limited to 'src/include/xbretcod.h') diff --git a/src/include/xbretcod.h b/src/include/xbretcod.h deleted file mode 100755 index ec1f91b..0000000 --- a/src/include/xbretcod.h +++ /dev/null @@ -1,97 +0,0 @@ -/* xbretcod.h - -XBase64 Software Library - -Copyright (c) 1997,2003,2014,2022,2023 Gary A Kunkel - -The xb64 software library is covered under the terms of the GPL Version 3, 2007 license. - -Email Contact: - - XDB-devel@lists.sourceforge.net - XDB-users@lists.sourceforge.net - -*/ - -#ifndef __XB_RETCODES_H__ -#define __XB_RETCODES_H__ - -/***********************************************/ -/* Return Codes and Error Messages */ - -namespace xb{ - - #define XB_NO_ERROR 0 // general - #define XB_NO_MEMORY -100 // general - #define XB_INVALID_OPTION -101 // general - #define XB_DUP_TABLE_OR_ALIAS -110 // table manager - #define XB_INVALID_NODELINK -120 // linklist - #define XB_KEY_NOT_UNIQUE -121 // linklist - #define XB_MEMCPY_ERROR -122 // memcpy failure - - #define XB_FILE_EXISTS -200 // file - #define XB_ALREADY_OPEN -201 // file - #define XB_DBF_FILE_NOT_OPEN -202 // file - #define XB_FILE_NOT_FOUND -203 // file - #define XB_FILE_TYPE_NOT_SUPPORTED -204 // file - #define XB_RENAME_ERROR -205 // file - #define XB_INVALID_OBJECT -206 // file - #define XB_NOT_OPEN -207 // file - #define XB_NOT_FOUND -208 // file - #define XB_OPEN_ERROR -209 // file - #define XB_CLOSE_ERROR -210 // file - #define XB_SEEK_ERROR -211 // file - #define XB_READ_ERROR -212 // file - #define XB_WRITE_ERROR -213 // file - #define XB_EOF -214 // file - #define XB_BOF -215 // file - #define XB_INVALID_BLOCK_SIZE -216 // file - #define XB_INVALID_BLOCK_NO -217 // file - #define XB_INVALID_RECORD -218 // file - #define XB_DELETE_FAILED -219 // file - #define XB_INVALID_TABLE_NAME -220 // file - #define XB_EMPTY -221 // file - #define XB_LIMIT_REACHED -222 // file - #define XB_BLOCKREAD_NOT_ENABLED -223 // file - #define XB_DIRECTORY_ERROR -224 // file - - #define XB_INVALID_FIELD_TYPE -300 // field - #define XB_INVALID_FIELD_NO -301 // field - #define XB_INVALID_DATA -302 // field - #define XB_INVALID_FIELD_NAME -303 // field - #define XB_INVALID_MEMO_FIELD -304 // field - #define XB_INVALID_FIELD -305 // field - #define XB_INVALID_FIELD_LEN -306 // field - #define XB_INVALID_DATE -307 // date field - - #define XB_INVALID_LOCK_OPTION -400 // lock - #define XB_LOCK_FAILED -401 // lock - #define XB_TABLE_NOT_LOCKED -402 // lock - need table locked for operation - - #define XB_PARSE_ERROR -500 // expression - #define XB_INVALID_FUNCTION -501 // expression - #define XB_INVALID_PARM -502 // expression - #define XB_INCONSISTENT_PARM_LENS -503 // expression - #define XB_INCOMPATIBLE_OPERANDS -504 // expression - #define XB_UNBALANCED_PARENS -505 // expression - #define XB_UNBALANCED_QUOTES -506 // expression - #define XB_INVALID_EXPRESSION -507 // expression - - #define XB_INVALID_KEYNO -600 // index - #define XB_INVALID_INDEX -601 // index file error - #define XB_INVALID_TAG -602 // invalid index tag name, must be <= 10 bytes - #define XB_INVALID_PAGE -603 // invalid index page - - - #define XB_SYNTAX_ERROR -700 // sql syntax error - - - #define XB_MAX_ERROR_NO -999 - - -/* when updating this table, also need to update messages in xbssv.cpp */ - - -} /* namespace */ -#endif /* __XB_RETCODES_H__ */ - -- cgit v1.2.3 From c894a7cdd8686ea695602a23a511a3f1b0d047be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 14 Aug 2023 21:07:46 +0200 Subject: New upstream version 4.1.4 --- src/include/xbretcod.h | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100755 src/include/xbretcod.h (limited to 'src/include/xbretcod.h') diff --git a/src/include/xbretcod.h b/src/include/xbretcod.h new file mode 100755 index 0000000..f2885b1 --- /dev/null +++ b/src/include/xbretcod.h @@ -0,0 +1,98 @@ +/* xbretcod.h + +XBase64 Software Library + +Copyright (c) 1997,2003,2014,2022,2023 Gary A Kunkel + +The xb64 software library is covered under the terms of the GPL Version 3, 2007 license. + +Email Contact: + + XDB-devel@lists.sourceforge.net + XDB-users@lists.sourceforge.net + +*/ + +#ifndef __XB_RETCODES_H__ +#define __XB_RETCODES_H__ + +/***********************************************/ +/* Return Codes and Error Messages */ + +namespace xb{ + + #define XB_NO_ERROR 0 // general + #define XB_NO_MEMORY -100 // general + #define XB_INVALID_OPTION -101 // general + #define XB_INVALID_PARAMETER -102 // general + #define XB_DUP_TABLE_OR_ALIAS -110 // table manager + #define XB_INVALID_NODELINK -120 // linklist + #define XB_KEY_NOT_UNIQUE -121 // linklist, index + #define XB_MEMCPY_ERROR -122 // memcpy failure + + #define XB_FILE_EXISTS -200 // file + #define XB_ALREADY_OPEN -201 // file + #define XB_DBF_FILE_NOT_OPEN -202 // file + #define XB_FILE_NOT_FOUND -203 // file + #define XB_FILE_TYPE_NOT_SUPPORTED -204 // file + #define XB_RENAME_ERROR -205 // file + #define XB_INVALID_OBJECT -206 // file + #define XB_NOT_OPEN -207 // file + #define XB_NOT_FOUND -208 // file + #define XB_OPEN_ERROR -209 // file + #define XB_CLOSE_ERROR -210 // file + #define XB_SEEK_ERROR -211 // file + #define XB_READ_ERROR -212 // file + #define XB_WRITE_ERROR -213 // file + #define XB_EOF -214 // file + #define XB_BOF -215 // file + #define XB_INVALID_BLOCK_SIZE -216 // file + #define XB_INVALID_BLOCK_NO -217 // file + #define XB_INVALID_RECORD -218 // file + #define XB_DELETE_FAILED -219 // file + #define XB_INVALID_TABLE_NAME -220 // file + #define XB_EMPTY -221 // file + #define XB_LIMIT_REACHED -222 // file + #define XB_BLOCKREAD_NOT_ENABLED -223 // file + #define XB_DIRECTORY_ERROR -224 // file + + #define XB_INVALID_FIELD_TYPE -300 // field + #define XB_INVALID_FIELD_NO -301 // field + #define XB_INVALID_DATA -302 // field + #define XB_INVALID_FIELD_NAME -303 // field + #define XB_INVALID_MEMO_FIELD -304 // field + #define XB_INVALID_FIELD -305 // field + #define XB_INVALID_FIELD_LEN -306 // field + #define XB_INVALID_DATE -307 // date field + + #define XB_INVALID_LOCK_OPTION -400 // lock + #define XB_LOCK_FAILED -401 // lock + #define XB_TABLE_NOT_LOCKED -402 // lock - need table locked for operation + + #define XB_PARSE_ERROR -500 // expression + #define XB_INVALID_FUNCTION -501 // expression + #define XB_INVALID_PARM -502 // expression + #define XB_INCONSISTENT_PARM_LENS -503 // expression + #define XB_INCOMPATIBLE_OPERANDS -504 // expression + #define XB_UNBALANCED_PARENS -505 // expression + #define XB_UNBALANCED_QUOTES -506 // expression + #define XB_INVALID_EXPRESSION -507 // expression + + #define XB_INVALID_KEYNO -600 // index + #define XB_INVALID_INDEX -601 // index file error + #define XB_INVALID_TAG -602 // invalid index tag name, must be <= 10 bytes + #define XB_INVALID_PAGE -603 // invalid index page + + + #define XB_SYNTAX_ERROR -700 // sql syntax error + + + #define XB_MAX_ERROR_NO -999 + + +/* when updating this table, also need to update messages in xbssv.cpp */ + + +} /* namespace */ +#endif /* __XB_RETCODES_H__ */ + -- cgit v1.2.3