22 class BtrieveCollection;
23 class BtrieveDocumentSet;
55 ACS_MODE_NUMBERED = 2,
57 ACS_MODE_CASE_INSENSITIVE = 3,
69 CREATE_MODE_OVERWRITE = 0,
71 CREATE_MODE_NO_OVERWRITE = 1,
73 CREATE_MODE_UNKNOWN = -7
85 COMPARISON_GREATER_THAN = 2,
87 COMPARISON_LESS_THAN = 3,
89 COMPARISON_NOT_EQUAL = 4,
91 COMPARISON_GREATER_THAN_OR_EQUAL = 5,
93 COMPARISON_LESS_THAN_OR_EQUAL = 6,
97 COMPARISON_NOT_LIKE = 8,
99 COMPARISON_JSON_QUERY_MATCH = 9,
101 COMPARISON_UNKNOWN = -7
115 CONNECTOR_UNKNOWN = -7
174 DISK_DRIVE_DEFAULT = 26,
176 DISK_DRIVE_UNKNOWN = -7
185 DUPLICATE_MODE_NOT_ALLOWED = 0,
187 DUPLICATE_MODE_ALLOWED_NONREPEATING = 1,
189 DUPLICATE_MODE_ALLOWED_REPEATING = 2,
191 DUPLICATE_MODE_UNKNOWN = -7
202 DATA_TYPE_ZSTRING = 1,
204 DATA_TYPE_INTEGER = 2,
206 DATA_TYPE_UNSIGNED_BINARY = 3,
210 DATA_TYPE_AUTOINCREMENT = 5,
214 DATA_TYPE_NUMERICSTS = 7,
218 DATA_TYPE_NUMERICSA = 9,
220 DATA_TYPE_DECIMAL = 10,
222 DATA_TYPE_CURRENCY = 11,
224 DATA_TYPE_MONEY = 12,
226 DATA_TYPE_TIMESTAMP = 13,
228 DATA_TYPE_LOGICAL = 14,
230 DATA_TYPE_WSTRING = 15,
232 DATA_TYPE_NUMERIC = 16,
234 DATA_TYPE_WZSTRING = 17,
236 DATA_TYPE_BFLOAT = 18,
240 DATA_TYPE_LSTRING = 20,
242 DATA_TYPE_NULL_INDICATOR_SEGMENT = 21,
244 DATA_TYPE_LEGACY_STRING = 22,
246 DATA_TYPE_LEGACY_BINARY = 23,
248 DATA_TYPE_AUTOTIMESTAMP = 24,
252 DATA_TYPE_TIMESTAMP2 = 26,
254 DATA_TYPE_UNKNOWN = -7
263 FILE_VERSION_6_0 = 0,
265 FILE_VERSION_6_1 = 1,
267 FILE_VERSION_7_0 = 2,
269 FILE_VERSION_8_0 = 3,
271 FILE_VERSION_9_0 = 4,
273 FILE_VERSION_9_5 = 5,
275 FILE_VERSION_13_0 = 7,
277 FILE_VERSION_DEFAULT = 6,
279 FILE_VERSION_UNKNOWN = -7
288 FREE_SPACE_THRESHOLD_10_PERCENT = 0,
290 FREE_SPACE_THRESHOLD_20_PERCENT = 1,
292 FREE_SPACE_THRESHOLD_30_PERCENT = 2,
294 FREE_SPACE_THRESHOLD_DEFAULT = 3,
296 FREE_SPACE_THRESHOLD_UNKNOWN = -7
553 LOCATION_MODE_NO_PREFERENCE = 0,
555 LOCATION_MODE_FORCE_LOCAL = 1,
557 LOCATION_MODE_FORCE_REMOTE = 2,
559 LOCATION_MODE_UNKNOWN = -7
570 LOCK_MODE_SINGLE_WAIT = 1,
572 LOCK_MODE_SINGLE_NO_WAIT = 2,
574 LOCK_MODE_MULTIPLE_WAIT = 3,
576 LOCK_MODE_MULTIPLE_NO_WAIT = 4,
578 LOCK_MODE_UNKNOWN = -7
585 NULL_KEY_MODE_ALL_SEGMENTS = 0,
587 NULL_KEY_MODE_ANY_SEGMENTS = 1,
589 NULL_KEY_MODE_NONE = 2,
591 NULL_KEY_MODE_UNKNOWN = -7
599 OPEN_MODE_NORMAL = 0,
601 OPEN_MODE_ACCELERATED = 1,
603 OPEN_MODE_READ_ONLY = 2,
605 OPEN_MODE_EXCLUSIVE = 3,
607 OPEN_MODE_WRITABLE = 4,
609 OPEN_MODE_UNKNOWN = -7
618 OWNER_MODE_NO_ENCRYPTION_NO_READ_ALLOWED = 1,
620 OWNER_MODE_NO_ENCRYPTION_READ_ALLOWED = 2,
622 OWNER_MODE_ENCRYPTION_NO_READ_ALLOWED = 3,
624 OWNER_MODE_ENCRYPTION_READ_ALLOWED = 4,
626 OWNER_MODE_UNKNOWN = -7
633 ENCRYPT_TYPE_NONE = 0,
635 ENCRYPT_TYPE_TRADITIONAL = 1,
637 ENCRYPT_TYPE_128_BIT = 2,
639 ENCRYPT_TYPE_AES_192 = 3,
641 ENCRYPT_TYPE_AES_256 = 4,
643 ENCRYPT_TYPE_UNKNOWN = -7
650 PAGE_LOCK_TYPE_NONE = 0,
652 PAGE_LOCK_TYPE_DATA_PAGE = 1,
654 PAGE_LOCK_TYPE_INDEX_PAGE = 2,
656 PAGE_LOCK_TYPE_VARIABLE_PAGE = 3,
658 PAGE_LOCK_TYPE_UNKNOWN = -7
685 PAGE_SIZE_DEFAULT = 9,
687 PAGE_SIZE_UNKNOWN = -7
696 RECORD_COMPRESSION_MODE_NONE = 0,
698 RECORD_COMPRESSION_MODE_BLANK_TRUNCATION = 1,
700 RECORD_COMPRESSION_MODE_RUN_LENGTH_ENCODING = 2,
702 RECORD_COMPRESSION_MODE_UNKNOWN = -7
711 STATUS_CODE_NO_ERROR = 0,
713 STATUS_CODE_INVALID_FUNCTION = 1,
715 STATUS_CODE_IO_ERROR = 2,
717 STATUS_CODE_FILE_NOT_OPEN = 3,
719 STATUS_CODE_KEY_VALUE_NOT_FOUND = 4,
721 STATUS_CODE_DUPLICATE_KEY_VALUE = 5,
723 STATUS_CODE_INVALID_INDEX_NUMBER = 6,
725 STATUS_CODE_DIFFERENT_INDEX_NUMBER = 7,
727 STATUS_CODE_POSITION_NOT_SET = 8,
729 STATUS_CODE_END_OF_FILE = 9,
731 STATUS_CODE_MODIFIABLE_KEYVALUE_ERROR = 10,
733 STATUS_CODE_FILENAME_BAD = 11,
735 STATUS_CODE_FILE_NOT_FOUND = 12,
737 STATUS_CODE_EXTENDED_FILE_ERROR = 13,
739 STATUS_CODE_PREIMAGE_OPEN_ERROR = 14,
741 STATUS_CODE_PREIMAGE_IO_ERROR = 15,
743 STATUS_CODE_EXPANSION_ERROR = 16,
745 STATUS_CODE_CLOSE_ERROR = 17,
747 STATUS_CODE_DISKFULL = 18,
749 STATUS_CODE_UNRECOVERABLE_ERROR = 19,
751 STATUS_CODE_RECORD_MANAGER_INACTIVE = 20,
753 STATUS_CODE_KEYBUFFER_TOO_SHORT = 21,
755 STATUS_CODE_DATALENGTH_ERROR = 22,
757 STATUS_CODE_POSITIONBLOCK_LENGTH = 23,
759 STATUS_CODE_PAGE_SIZE_ERROR = 24,
761 STATUS_CODE_CREATE_IO_ERROR = 25,
763 STATUS_CODE_NUMBER_OF_INDEXES = 26,
765 STATUS_CODE_INVALID_KEY_POSITION = 27,
767 STATUS_CODE_INVALID_RECORD_LENGTH = 28,
769 STATUS_CODE_INVALID_KEYLENGTH = 29,
771 STATUS_CODE_NOT_A_BTRIEVE_FILE = 30,
773 STATUS_CODE_FILE_ALREADY_EXTENDED = 31,
775 STATUS_CODE_EXTEND_IO_ERROR = 32,
777 STATUS_CODE_BTR_CANNOT_UNLOAD = 33,
779 STATUS_CODE_INVALID_EXTENSION_NAME = 34,
781 STATUS_CODE_DIRECTORY_ERROR = 35,
783 STATUS_CODE_TRANSACTION_ERROR = 36,
785 STATUS_CODE_TRANSACTION_IS_ACTIVE = 37,
787 STATUS_CODE_TRANSACTION_FILE_IO_ERROR = 38,
789 STATUS_CODE_END_TRANSACTION_ERROR = 39,
791 STATUS_CODE_TRANSACTION_MAX_FILES = 40,
793 STATUS_CODE_OPERATION_NOT_ALLOWED = 41,
795 STATUS_CODE_INCOMPLETE_ACCEL_ACCESS = 42,
797 STATUS_CODE_INVALID_RECORD_ADDRESS = 43,
799 STATUS_CODE_NULL_KEYPATH = 44,
801 STATUS_CODE_INCONSISTENT_KEY_FLAGS = 45,
803 STATUS_CODE_ACCESS_TO_FILE_DENIED = 46,
805 STATUS_CODE_MAXIMUM_OPEN_FILES = 47,
807 STATUS_CODE_INVALID_ALT_SEQUENCE_DEF = 48,
809 STATUS_CODE_KEY_TYPE_ERROR = 49,
811 STATUS_CODE_OWNER_ALREADY_SET = 50,
813 STATUS_CODE_INVALID_OWNER = 51,
815 STATUS_CODE_ERROR_WRITING_CACHE = 52,
817 STATUS_CODE_INVALID_INTERFACE = 53,
819 STATUS_CODE_VARIABLE_PAGE_ERROR = 54,
821 STATUS_CODE_AUTOINCREMENT_ERROR = 55,
823 STATUS_CODE_INCOMPLETE_INDEX = 56,
825 STATUS_CODE_EXPANED_MEM_ERROR = 57,
827 STATUS_CODE_COMPRESS_BUFFER_TOO_SHORT = 58,
829 STATUS_CODE_FILE_ALREADY_EXISTS = 59,
831 STATUS_CODE_REJECT_COUNT_REACHED = 60,
833 STATUS_CODE_SMALL_EX_GET_BUFFER_ERROR = 61,
835 STATUS_CODE_INVALID_GET_EXPRESSION = 62,
837 STATUS_CODE_INVALID_EXT_INSERT_BUFF = 63,
839 STATUS_CODE_OPTIMIZE_LIMIT_REACHED = 64,
841 STATUS_CODE_INVALID_EXTRACTOR = 65,
843 STATUS_CODE_RI_TOO_MANY_DATABASES = 66,
845 STATUS_CODE_RIDDF_CANNOT_OPEN = 67,
847 STATUS_CODE_RI_CASCADE_TOO_DEEP = 68,
849 STATUS_CODE_RI_CASCADE_ERROR = 69,
851 STATUS_CODE_RI_VIOLATION = 71,
853 STATUS_CODE_RI_REFERENCED_FILE_CANNOT_OPEN = 72,
855 STATUS_CODE_RI_OUT_OF_SYNC = 73,
857 STATUS_CODE_END_CHANGED_TO_ABORT = 74,
859 STATUS_CODE_RI_CONFLICT = 76,
861 STATUS_CODE_CANT_LOOP_IN_SERVER = 77,
863 STATUS_CODE_DEAD_LOCK = 78,
865 STATUS_CODE_PROGRAMMING_ERROR = 79,
867 STATUS_CODE_CONFLICT = 80,
869 STATUS_CODE_LOCKERROR = 81,
871 STATUS_CODE_LOST_POSITION = 82,
873 STATUS_CODE_READ_OUTSIDE_TRANSACTION = 83,
875 STATUS_CODE_RECORD_INUSE = 84,
877 STATUS_CODE_FILE_INUSE = 85,
879 STATUS_CODE_FILE_TABLE_FULL = 86,
881 STATUS_CODE_NOHANDLES_AVAILABLE = 87,
883 STATUS_CODE_INCOMPATIBLE_MODE_ERROR = 88,
885 STATUS_CODE_DEVICE_TABLE_FULL = 90,
887 STATUS_CODE_SERVER_ERROR = 91,
889 STATUS_CODE_TRANSACTION_TABLE_FULL = 92,
891 STATUS_CODE_INCOMPATIBLE_LOCK_TYPE = 93,
893 STATUS_CODE_PERMISSION_ERROR = 94,
895 STATUS_CODE_SESSION_NO_LONGER_VALID = 95,
897 STATUS_CODE_COMMUNICATIONS_ERROR = 96,
899 STATUS_CODE_DATA_MESSAGE_TOO_SMALL = 97,
901 STATUS_CODE_INTERNAL_TRANSACTION_ERROR = 98,
903 STATUS_CODE_REQUESTER_CANT_ACCESS_RUNTIME = 99,
905 STATUS_CODE_NO_CACHE_BUFFERS_AVAIL = 100,
907 STATUS_CODE_NO_OS_MEMORY_AVAIL = 101,
909 STATUS_CODE_NO_STACK_AVAIL = 102,
911 STATUS_CODE_CHUNK_OFFSET_TOO_LONG = 103,
913 STATUS_CODE_LOCALE_ERROR = 104,
915 STATUS_CODE_CANNOT_CREATE_WITH_VAT = 105,
917 STATUS_CODE_CHUNK_CANNOT_GET_NEXT = 106,
919 STATUS_CODE_CHUNK_INCOMPATIBLE_FILE = 107,
921 STATUS_CODE_TRANSACTION_TOO_COMPLEX = 109,
923 STATUS_CODE_ARCH_BLOG_OPEN_ERROR = 110,
925 STATUS_CODE_ARCH_FILE_NOT_LOGGED = 111,
927 STATUS_CODE_ARCH_FILE_IN_USE = 112,
929 STATUS_CODE_ARCH_LOGFILE_NOT_FOUND = 113,
931 STATUS_CODE_ARCH_LOGFILE_INVALID = 114,
933 STATUS_CODE_ARCH_DUMPFILE_ACCESS_ERROR = 115,
935 STATUS_CODE_LOCATOR_FILE_INDICATOR = 116,
937 STATUS_CODE_NO_SYSTEM_LOCKS_AVAILABLE = 130,
939 STATUS_CODE_FILE_FULL = 132,
941 STATUS_CODE_MORE_THAN_5_CONCURRENT_USERS = 133,
943 STATUS_CODE_ISR_NOT_FOUND = 134,
945 STATUS_CODE_ISR_INVALID = 135,
947 STATUS_CODE_ACS_NOT_FOUND = 136,
949 STATUS_CODE_CANNOT_CONVERT_RP = 137,
951 STATUS_CODE_INVALID_NULL_INDICATOR = 138,
953 STATUS_CODE_INVALID_KEY_OPTION = 139,
955 STATUS_CODE_INCOMPATIBLE_CLOSE = 140,
957 STATUS_CODE_INVALID_USERNAME = 141,
959 STATUS_CODE_INVALID_DATABASE = 142,
961 STATUS_CODE_NO_SSQL_RIGHTS = 143,
963 STATUS_CODE_ALREADY_LOGGED_IN = 144,
965 STATUS_CODE_NO_DATABASE_SERVICES = 145,
967 STATUS_CODE_DUPLICATE_SYSTEM_KEY = 146,
969 STATUS_CODE_LOG_SEGMENT_MISSING = 147,
971 STATUS_CODE_ROLL_FORWARD_ERROR = 148,
973 STATUS_CODE_SYSTEM_KEY_INTERNAL = 149,
975 STATUS_CODE_DBS_INTERNAL_ERROR = 150,
977 STATUS_CODE_NESTING_DEPTH_ERROR = 151,
979 STATUS_CODE_INVALID_PARAMETER_TO_MKDE = 160,
981 STATUS_CODE_USER_COUNT_LIMIT_EXCEEDED = 161,
983 STATUS_CODE_CLIENT_TABLE_FULL = 162,
985 STATUS_CODE_LAST_SEGMENT_ERROR = 163,
987 STATUS_CODE_LOGIN_FAILED_BAD_USERNAME = 170,
989 STATUS_CODE_LOGIN_FAILED_BAD_PASSWORD = 171,
991 STATUS_CODE_LOGIN_FAILED_BAD_DATABASE = 172,
993 STATUS_CODE_LOGIN_ALREADY_LOGGED_IN = 173,
995 STATUS_CODE_LOGIN_LOGOUT_FAILED = 174,
997 STATUS_CODE_LOGIN_WRONG_URI_FORMAT = 175,
999 STATUS_CODE_LOGIN_FILE_AND_TABLE_NOT_FOUND = 176,
1001 STATUS_CODE_LOGIN_TABLE_NOT_IN_DATABASE = 177,
1003 STATUS_CODE_LOGIN_DIRECTORY_NOT_IN_DATABASE = 178,
1005 STATUS_CODE_LOCK_PARM_OUTOFRANGE = 1001,
1007 STATUS_CODE_MEM_ALLOCATION_ERR = 1002,
1009 STATUS_CODE_MEM_PARM_TOO_SMALL = 1003,
1011 STATUS_CODE_PAGE_SIZE_PARM_OUTOFRANGE = 1004,
1013 STATUS_CODE_INVALID_PREIMAGE_PARM = 1005,
1015 STATUS_CODE_PREIMAGE_BUF_PARM_OUTOFRANGE = 1006,
1017 STATUS_CODE_FILES_PARM_OUTOFRANGE = 1007,
1019 STATUS_CODE_INVALID_INIT_PARM = 1008,
1021 STATUS_CODE_INVALID_TRANS_PARM = 1009,
1023 STATUS_CODE_ERROR_ACC_TRANS_CONTROL_FILE = 1010,
1025 STATUS_CODE_COMPRESSION_BUF_PARM_OUTOFRANGE = 1011,
1027 STATUS_CODE_INV_N_OPTION = 1012,
1029 STATUS_CODE_TASK_LIST_FULL = 1013,
1031 STATUS_CODE_STOP_WARNING = 1014,
1033 STATUS_CODE_POINTER_PARM_INVALID = 1015,
1035 STATUS_CODE_ALREADY_INITIALIZED = 1016,
1037 STATUS_CODE_REQ_CANT_FIND_RES_DLL = 1017,
1039 STATUS_CODE_ALREADY_INSIDE_BTR_FUNCTION = 1018,
1041 STATUS_CODE_CALLBACK_ABORT = 1019,
1043 STATUS_CODE_INTF_COMM_ERROR = 1020,
1045 STATUS_CODE_FAILED_TO_INITIALIZE = 1021,
1047 STATUS_CODE_MKDE_SHUTTING_DOWN = 1022,
1049 STATUS_CODE_INTERNAL_ERROR = 2000,
1051 STATUS_CODE_INSUFFICIENT_MEM_ALLOC = 2001,
1053 STATUS_CODE_INVALID_OPTION = 2002,
1055 STATUS_CODE_NO_LOCAL_ACCESS_ALLOWED = 2003,
1057 STATUS_CODE_SPX_NOT_INSTALLED = 2004,
1059 STATUS_CODE_INCORRECT_SPX_VERSION = 2005,
1061 STATUS_CODE_NO_AVAIL_SPX_CONNECTION = 2006,
1063 STATUS_CODE_INVALID_PTR_PARM = 2007,
1065 STATUS_CODE_CANT_CONNECT_TO_615 = 2008,
1067 STATUS_CODE_CANT_LOAD_MKDE_ROUTER = 2009,
1069 STATUS_CODE_UT_THUNK_NOT_LOADED = 2010,
1071 STATUS_CODE_NO_RESOURCE_DLL = 2011,
1073 STATUS_CODE_OS_ERROR = 2012,
1075 STATUS_CODE_MK_ROUTER_MEM_ERROR = 3000,
1077 STATUS_CODE_MK_NO_LOCAL_ACCESS_ALLOWED = 3001,
1079 STATUS_CODE_MK_NO_RESOURCE_DLL = 3002,
1081 STATUS_CODE_MK_INCOMPAT_COMPONENT = 3003,
1083 STATUS_CODE_MK_TIMEOUT_ERROR = 3004,
1085 STATUS_CODE_MK_OS_ERROR = 3005,
1087 STATUS_CODE_MK_INVALID_SESSION = 3006,
1089 STATUS_CODE_MK_SERVER_NOT_FOUND = 3007,
1091 STATUS_CODE_MK_INVALID_CONFIG = 3008,
1093 STATUS_CODE_MK_NETAPI_NOT_LOADED = 3009,
1095 STATUS_CODE_MK_NWAPI_NOT_LOADED = 3010,
1097 STATUS_CODE_MK_THUNK_NOT_LOADED = 3011,
1099 STATUS_CODE_MK_LOCAL_NOT_LOADED = 3012,
1101 STATUS_CODE_MK_PNSL_NOT_LOADED = 3013,
1103 STATUS_CODE_MK_CANT_FIND_ENGINE = 3014,
1105 STATUS_CODE_MK_INIT_ERROR = 3015,
1107 STATUS_CODE_MK_INTERNAL_ERROR = 3016,
1109 STATUS_CODE_MK_LOCAL_MKDE_DATABUF_TOO_SMALL = 3017,
1111 STATUS_CODE_MK_CLOSED_ERROR = 3018,
1113 STATUS_CODE_MK_SEMAPHORE_ERROR = 3019,
1115 STATUS_CODE_MK_LOADING_ERROR = 3020,
1117 STATUS_CODE_MK_BAD_SRB_FORMAT = 3021,
1119 STATUS_CODE_MK_DATABUF_LEN_TOO_LARGE = 3022,
1121 STATUS_CODE_MK_TASK_TABLE_FULL = 3023,
1123 STATUS_CODE_MK_INVALID_OP_ON_REMOTE = 3024,
1125 STATUS_CODE_MK_PIDS_NOT_LOADED = 3025,
1127 STATUS_CODE_MK_BAD_PIDS = 3026,
1129 STATUS_CODE_MK_IDS_CONNECT_FAILURE = 3027,
1131 STATUS_CODE_MK_IDS_LOGIN_FAILURE = 3028,
1133 STATUS_CODE_NL_FAILURE = 3101,
1135 STATUS_CODE_NL_NOT_INITIALIZED = 3102,
1137 STATUS_CODE_NL_NAME_NOT_FOUND = 3103,
1139 STATUS_CODE_NL_PERMISSION_ERROR = 3104,
1141 STATUS_CODE_NL_NO_AVAILABLE_TRANSPORT = 3105,
1143 STATUS_CODE_NL_CONNECTION_FAILURE = 3106,
1145 STATUS_CODE_NL_OUT_OF_MEMORY = 3107,
1147 STATUS_CODE_NL_INVALID_SESSION = 3108,
1149 STATUS_CODE_NL_MORE_DATA = 3109,
1151 STATUS_CODE_NL_NOT_CONNECTED = 3110,
1153 STATUS_CODE_NL_SEND_FAILURE = 3111,
1155 STATUS_CODE_NL_RECEIVE_FAILURE = 3112,
1157 STATUS_CODE_NL_INVALID_SERVER_TYPE = 3113,
1159 STATUS_CODE_NL_SRT_FULL = 3114,
1161 STATUS_CODE_NL_TRANSPORT_FAILURE = 3115,
1163 STATUS_CODE_NL_RCV_DATA_OVERFLOW = 3116,
1165 STATUS_CODE_NL_CST_FULL = 3117,
1167 STATUS_CODE_NL_INVALID_ADDRESS_FAMILY = 3118,
1169 STATUS_CODE_NL_NO_AUTH_CONTEXT_AVAILABLE = 3119,
1171 STATUS_CODE_NL_INVALID_AUTH_TYPE = 3120,
1173 STATUS_CODE_NL_INVALID_AUTH_OBJECT = 3121,
1175 STATUS_CODE_NL_AUTH_LEN_TOO_SMALL = 3122,
1177 STATUS_CODE_NL_INVALID_SESSION_LEVEL_PARM = 3123,
1179 STATUS_CODE_NL_TASK_TABLE_FULL = 3124,
1181 STATUS_CODE_NL_NDS_NAME_RESOLUTION_ERROR = 3125,
1183 STATUS_CODE_NL_FILE_NAME_RESOLUTION_ERROR = 3126,
1185 STATUS_CODE_NL_IDS_SEND_FAILURE = 3127,
1187 STATUS_CODE_NL_IDS_RCV_FAILURE = 3128,
1189 STATUS_CODE_UNKNOWN = -7,
1198 SYSTEM_DATA_MODE_YES = 0,
1200 SYSTEM_DATA_MODE_NO = 1,
1202 SYSTEM_DATA_MODE_DEFAULT = 2,
1204 SYSTEM_DATA_MODE_UNKNOWN = -7
1210 TRANSACTION_MODE_EXCLUSIVE = 0,
1212 TRANSACTION_MODE_CONCURRENT_WRITE_WAIT = 1,
1214 TRANSACTION_MODE_CONCURRENT_NO_WRITE_WAIT = 2,
1216 TRANSACTION_MODE_UNKNOWN = -7
1224 UNLOCK_MODE_SINGLE = 0,
1226 UNLOCK_MODE_MULTIPLE = 1,
1228 UNLOCK_MODE_UNKNOWN = -7
1237 VARIABLE_LENGTH_RECORDS_MODE_NO = 0,
1239 VARIABLE_LENGTH_RECORDS_MODE_YES = 1,
1241 VARIABLE_LENGTH_RECORDS_MODE_YES_VARIABLE_ALLOCATION_TAILS = 2,
1243 VARIABLE_LENGTH_RECORDS_MODE_UNKNOWN = -7
1250 VERSION_TYPE_NONE = 0,
1252 VERSION_TYPE_BTRIEVE_ENGINE = 1,
1254 VERSION_TYPE_WORKGROUP_ENGINE = 2,
1256 VERSION_TYPE_DOS_WORKSTATION = 3,
1258 VERSION_TYPE_CLIENT_REQUESTOR = 4,
1260 VERSION_TYPE_WINDOWS_SERVER_ENGINE = 5,
1262 VERSION_TYPE_UNIX = 6,
1264 VERSION_TYPE_CLIENT_ENGINE = 7,
1266 VERSION_TYPE_UNKNOWN = -7
1280 static const char *DuplicateModeToString(
DuplicateMode duplicateMode);
1286 static const char *DataTypeToString(
DataType dataType);
1292 static const char *FileVersionToString(
FileVersion fileVersion);
1298 static const char *FreeSpaceThresholdToString(
FreeSpaceThreshold freeSpaceThreshold);
1304 static const char *IndexToString(
Index index);
1310 static const char *NullKeyModeToString(
NullKeyMode nullKeyMode);
1316 static const char *PageSizeToString(
PageSize pageSize);
1328 static const char *StatusCodeToString(
StatusCode statusCode);
1334 static const char *SystemDataModeToString(
SystemDataMode systemDataMode);
1340 static const char *VersionTypeToString(
VersionType versionType);
1346 static const char *PageLockTypeToString(
PageLockType pageLockType);
1352 static const char *LockModeToString(
LockMode lockMode);
1358 static const char *OwnerModeToString(
OwnerMode ownerMode);
1362 static const char *EncryptTypeToString(
EncryptType encryptType);
1372 static long long UnixEpochMicrosecondsToTimestamp(
long long microseconds);
1376 static long long TimestampToUnixEpochMicroseconds(
long long timestamp);
1393 BtrieveClient(
int serviceAgentIdentifier,
int clientIdentifier);
1429 #ifdef GetCurrentDirectory 1430 #undef GetCurrentDirectory 1566 Btrieve::StatusCode FileRename(
const wchar_t *existingFileName,
const wchar_t *newFileName);
1608 #ifdef SetCurrentDirectory 1609 #undef SetCurrentDirectory 1654 int GetServiceAgentIdentifier();
1659 int GetClientIdentifier();
1679 Btrieve::StatusCode CollectionRename(
const char *existingCollectionName,
const char *newCollectionName);
1687 Btrieve::StatusCode CollectionOpen(BtrieveCollection *btrieveCollection,
const char *collectionName,
const char *password = NULL);
1906 int GetNumerator(
long long cursorPosition,
int denominator);
1921 int GetNumerator(
Btrieve::Index index,
const char *key,
int keyLength,
int denominator);
2000 int GetPercentage(
long long cursorPosition);
2014 int GetPercentage(
Btrieve::Index index,
const char *key,
int keyLength);
2026 long long GetCursorPosition();
2455 int GetBalancedIndexes();
2479 int GetPageCompression();
2487 int GetPagePreallocation();
2502 int GetUnusedDuplicatePointerCount();
2509 int GetIndexCount();
2516 int GetFixedRecordLength();
2524 long long GetRecordCount();
2539 int GetUnusedPageCount();
2563 int GetSystemIndexPresent();
2570 int GetSystemIndexSize();
2578 int GetSystemIndexUsed();
2585 int GetSystemIndexVersion();
2593 long long GetDuplicateRecordConflictCursorPosition();
2608 int GetIdentifier();
2615 int GetHandleCount();
2622 int GetOpenTimestamp();
2629 int GetUsageCount();
2637 int GetExplicitLocks();
2645 int GetClientTransactions();
2661 int GetContinuousOperation();
2669 int GetReferentialIntegrityConstraints();
2691 int GetWrongOwner();
2698 int GetGatewayMajorVersion();
2705 int GetGatewayMinorVersion();
2712 int GetGatewayPatchLevel();
2719 int GetGatewayPlatform();
2726 const char *GetGatewayName();
2737 int GetLockOwnerImplicitLock();
2752 int GetLockOwnerFileLock();
2760 int GetLockOwnerRecordLock();
2768 int GetLockOwnerSameProcess();
2776 int GetLockOwnerWriteNoWait();
2784 int GetLockOwnerWriteHold();
2791 int GetLockOwnerTimeInTransaction();
2798 int GetLockOwnerTransactionLevel();
2805 const char *GetLockOwnerName();
2816 int GetLockOwnerServiceAgentIdentifier();
2829 int GetLockOwnerClientIdentifier();
2860 const char *GetReferentialIntegrityFileName();
2871 int GetReferentialIntegrityOperationCode();
2885 long long GetReferentialIntegrityCursorPosition();
2892 int GetSegmentCount();
2900 const char *GetSegmentFileName(
int segmentFileNumber);
2921 int GetSecurityHandleTrusted();
2929 int GetSecurityHandleImplicit();
2937 int GetSecurityHandleExplicit();
2945 int GetSecurityHandleAuthenticationByDatabase();
2953 int GetSecurityHandleAuthorizationByDatabase();
2961 int GetSecurityHandleWindowsNamedPipe();
2969 int GetSecurityHandleWorkgroup();
2977 int GetSecurityHandleBtpasswd();
2985 int GetSecurityHandlePAM();
2993 int GetSecurityHandleRTSSComplete();
3001 int GetSecurityHandleRTSSPreauthorized();
3009 int GetSecurityHandleRTSSDisabled();
3017 int GetSecurityCurrentDatabaseTrusted();
3025 int GetSecurityCurrentDatabaseImplicit();
3033 int GetSecurityCurrentDatabaseExplicit();
3041 int GetSecurityCurrentDatabaseAuthenticationByDatabase();
3049 int GetSecurityCurrentDatabaseAuthorizationByDatabase();
3057 int GetSecurityCurrentDatabaseWindowsNamedPipe();
3065 int GetSecurityCurrentDatabaseWorkgroup();
3073 int GetSecurityCurrentDatabaseBtpasswd();
3081 int GetSecurityCurrentDatabasePAM();
3089 int GetSecurityCurrentDatabaseRTSSComplete();
3097 int GetSecurityCurrentDatabaseRTSSPreauthorized();
3105 int GetSecurityCurrentDatabaseRTSSDisabled();
3113 int GetSecurityPermissionNoRights();
3121 int GetSecurityPermissionOpen();
3129 int GetSecurityPermissionRead();
3137 int GetSecurityPermissionCreateFile();
3145 int GetSecurityPermissionUpdate();
3153 int GetSecurityPermissionCreateRecord();
3161 int GetSecurityPermissionDelete();
3169 int GetSecurityPermissionExecute();
3177 int GetSecurityPermissionAlter();
3185 int GetSecurityPermissionRefer();
3193 int GetSecurityPermissionCreateView();
3201 int GetSecurityPermissionCreateStoredProcedure();
3209 const char *GetSecurityHandleDatabaseName();
3220 const char *GetSecurityHandleTableName();
3238 const char *GetSecurityHandleUserName();
3256 const char *GetSecurityCurrentDatabaseName();
3274 const char *GetSecurityCurrentUserName();
3508 int GetRecord(
int recordNumber,
char *record,
int recordSize);
3515 int GetRecordCount();
3523 int GetRecordLength(
int recordNumber);
3532 long long GetRecordCursorPosition(
int recordNumber);
3629 Btrieve::StatusCode SetACSUserDefined(
const char *ACSName,
const char *ACSMap,
int ACSMapLength);
3693 int GetRecordCount();
3702 long long GetRecordCursorPosition(
int recordNumber);
3747 int GetModifiable();
3755 int GetKeyContinues();
3778 int GetDescendingSortOrder();
3831 long long GetUniqueValueCount();
3941 int GetClientRevisionNumber();
3950 int GetClientVersionNumber();
3959 int GetRemoteRevisionNumber();
3968 int GetRemoteVersionNumber();
3977 int GetLocalRevisionNumber();
3986 int GetLocalVersionNumber();
4792 class LINKAGE BtrieveCollection
4802 BtrieveCollection();
4804 ~BtrieveCollection();
4813 int DocumentCreate(
const char *json,
const char *blob,
int blobLength);
4819 int DocumentCreate(
const char *json);
4827 const char *DocumentRetrieve(
int id,
char *blob,
int blobSize);
4833 const char *DocumentRetrieve(
int id);
4835 Btrieve::StatusCode DocumentRetrieve(
int id,
char *json,
int jsonSize,
char *blob,
int blobSize);
4846 int DocumentRetrieveBlob(
int id,
int offset,
int length,
char *blob,
int blobSize);
4862 int DocumentGetBlobLength(
int id);
4870 const char *DocumentGetCreationTimeAsString(
int id);
4879 Btrieve::StatusCode DocumentUpdate(
int id,
const char *json,
const char *blob,
int blobLength);
4922 Btrieve::StatusCode Query(BtrieveDocumentSet *btrieveDocumentSet,
const char *query,
bool reverseOrder =
false);
4952 class LINKAGE BtrieveDocumentSet
4954 friend class BtrieveCollection;
4957 std::set<int> *GetStdSet();
4958 void SetReverseOrder(
bool reverseOrder);
4962 BtrieveDocumentSet();
4963 ~BtrieveDocumentSet();
4983 std::set<int> *stdSet;
FileVersion
The Btrieve file versions.
Definition: btrieveCpp.h:261
The Btrieve bulk retrieve result class.
Definition: btrieveCpp.h:3477
The Btrieve file attributes class.
Definition: btrieveCpp.h:2245
EncryptType
The Btrieve file encryption types.
Definition: btrieveCpp.h:631
struct btrieve_client * btrieve_client_t
A Btrieve client.
Definition: btrieveC.h:1260
VariableLengthRecordsMode
The Btrieve variable length records modes.
Definition: btrieveCpp.h:1235
struct btrieve_file_attributes * btrieve_file_attributes_t
A Btrieve file attributes.
Definition: btrieveC.h:1273
Connector
The Btrieve connectors.
Definition: btrieveCpp.h:107
VersionType
The Btrieve version types.
Definition: btrieveCpp.h:1248
NullKeyMode
The Btrieve null key modes.
Definition: btrieveCpp.h:583
#define BTRIEVE_MAXIMUM_RECORD_LENGTH
The Btrieve maximum record length.
Definition: btrieveC.h:29
Btrieve::StatusCode GetLastStatusCode()
Get the last status code.
struct btrieve_bulk_create_result * btrieve_bulk_create_result_t
A Btrieve bulk create result.
Definition: btrieveC.h:1245
The Btrieve bulk create result class.
Definition: btrieveCpp.h:3666
ACSMode
The Btrieve alternate collation sequence modes.
Definition: btrieveCpp.h:49
#define BTRIEVE_MAXIMUM_KEY_LENGTH
The Btrieve maximum key segment length.
Definition: btrieveC.h:32
Index
The Btrieve indexes.
Definition: btrieveCpp.h:303
PageLockType
The Btrieve page lock type.
Definition: btrieveCpp.h:648
RecordCompressionMode
The Btrieve record compression modes.
Definition: btrieveCpp.h:694
StatusCode
The Btrieve status codes.
Definition: btrieveCpp.h:709
The Btrieve class.
Definition: btrieveCpp.h:38
Comparison
The Btrieve comparisons.
Definition: btrieveCpp.h:79
struct btrieve_key_segment * btrieve_key_segment_t
A Btrieve key segment.
Definition: btrieveC.h:1295
OpenMode
The Btrieve open modes.
Definition: btrieveCpp.h:597
struct btrieve_bulk_create_payload * btrieve_bulk_create_payload_t
A Btrieve bulk create payload.
Definition: btrieveC.h:1241
PageSize
The Btrieve page sizes.
Definition: btrieveCpp.h:665
None.
Definition: btrieveCpp.h:568
OwnerMode
The Btrieve file owner modes.
Definition: btrieveCpp.h:614
The Btrieve bulk retrieve attributes class.
Definition: btrieveCpp.h:3406
UnlockMode
The Btrieve unlock modes.
Definition: btrieveCpp.h:1222
DuplicateMode
The Btrieve duplicate modes.
Definition: btrieveCpp.h:183
No preference.
Definition: btrieveCpp.h:553
struct btrieve_filter * btrieve_filter_t
A Btrieve filter.
Definition: btrieveC.h:1281
The Btrieve file class.
Definition: btrieveCpp.h:1712
The Btrieve version class.
Definition: btrieveCpp.h:3881
The Btrieve bulk create payload class.
Definition: btrieveCpp.h:3636
Btrieve::StatusCode GetLastStatusCode()
Get the last status code.
struct btrieve_bulk_retrieve_result * btrieve_bulk_retrieve_result_t
A Btrieve bulk retrieve result.
Definition: btrieveC.h:1253
struct btrieve_bulk_retrieve_attributes * btrieve_bulk_retrieve_attributes_t
A Btrieve bulk retrieve attributes.
Definition: btrieveC.h:1249
The Btrieve index attributes class.
Definition: btrieveCpp.h:3539
TransactionMode
The Btrieve transaction modes.
Definition: btrieveCpp.h:1208
FreeSpaceThreshold
The Btrieve free space thresholds.
Definition: btrieveCpp.h:286
CreateMode
The Btrieve create modes.
Definition: btrieveCpp.h:67
struct btrieve_file * btrieve_file_t
A Btrieve file.
Definition: btrieveC.h:1266
struct btrieve_index_attributes * btrieve_index_attributes_t
A Btrieve index attributes.
Definition: btrieveC.h:1288
The Btrieve key segment class.
Definition: btrieveCpp.h:3709
LocationMode
The Btrieve location modes.
Definition: btrieveCpp.h:551
The Btrieve client class.
Definition: btrieveCpp.h:1384
DiskDrive
The Btrieve disk drives.
Definition: btrieveCpp.h:120
LockMode
The Btrieve lock modes.
Definition: btrieveCpp.h:566
struct btrieve_file_information * btrieve_file_information_t
A Btrieve file information.
Definition: btrieveC.h:1277
The Btrieve filter class.
Definition: btrieveCpp.h:3298
SystemDataMode
The Btrieve system data modes.
Definition: btrieveCpp.h:1196
struct btrieve_version * btrieve_version_t
A Btrieve version.
Definition: btrieveC.h:1299
DataType
The Btrieve data types.
Definition: btrieveCpp.h:198