23 #define LINKAGE __declspec(dllimport)
28#define BTRIEVE_MAXIMUM_RECORD_LENGTH (64 * 1024 - 1)
31#define BTRIEVE_MAXIMUM_KEY_LENGTH 1024
34#define BTRIEVE_MAXIMUM_BULK_RECORD_COUNT 25804
btrieve_status_code_t BtrieveFileBulkRetrieveNext(btrieve_file_t file, const btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, btrieve_bulk_retrieve_result_t bulkRetrieveResult, btrieve_lock_mode_t lockMode)
Bulk retrieve next for a Btrieve file.
int BtrieveFileInformationGetSecurityPermissionDelete(btrieve_file_information_t fileInformation)
Get security permission delete from a Btrieve file information.
btrieve_status_code_t BtrieveClientSetCurrentDirectory(btrieve_client_t client, const char *currentDirectory)
Set current directory for a Btrieve client.
int BtrieveFileInformationGetHandleCount(btrieve_file_information_t fileInformation)
Get handle count from a Btrieve file information.
btrieve_status_code_t BtrieveFileInformationGetSecurityCurrentDatabaseName(btrieve_file_information_t fileInformation, char *name, int nameSize)
Get security current database name from a Btrieve file information
int BtrieveFileInformationGetSecurityCurrentDatabasePAM(btrieve_file_information_t fileInformation)
Get security current database PAM from a Btrieve file information.
btrieve_status_code_t BtrieveFileInformationAllocate(btrieve_file_information_t *btrieveFileInformationPtr)
Allocate a Btrieve file information.
btrieve_system_data_mode_t
The Btrieve system data modes.
Definition btrieveC.h:1243
@ BTRIEVE_SYSTEM_DATA_MODE_UNKNOWN
Unknown.
Definition btrieveC.h:1253
@ BTRIEVE_SYSTEM_DATA_MODE_VERSION_2
Version 2.
Definition btrieveC.h:1251
@ BTRIEVE_SYSTEM_DATA_MODE_DEFAULT
Default.
Definition btrieveC.h:1249
@ BTRIEVE_SYSTEM_DATA_MODE_NO
No.
Definition btrieveC.h:1247
@ BTRIEVE_SYSTEM_DATA_MODE_YES
Yes.
Definition btrieveC.h:1245
btrieve_status_code_t BtrieveFileRecordUpdateChunk(btrieve_file_t file, int offset, const char *chunk, int chunkLength)
Record update chunk for a Btrieve file.
int BtrieveFileInformationGetLockOwnerServiceAgentIdentifier(btrieve_file_information_t fileInformation)
Get lock owner service agent identifier from a Btrieve file information.
int BtrieveFileInformationGetLockOwnerWriteHold(btrieve_file_information_t fileInformation)
Get lock owner write hold from a Btrieve file information.
btrieve_status_code_t BtrieveBulkDeleteAttributesSetMaximumRejectCount(btrieve_bulk_delete_attributes_t bulkDeleteAttributes, int maximumRejectCount)
Set maximum reject count for a Btrieve bulk delete attributes.
int BtrieveFileInformationGetSecurityPermissionCreateFile(btrieve_file_information_t fileInformation)
Get security permission create file from a Btrieve file information.
long long BtrieveKeySegmentGetUniqueValueCount(btrieve_key_segment_t keySegment)
Get unique value count from a Btrieve key segment.
btrieve_index_t
The Btrieve indexes.
Definition btrieveC.h:826
@ BTRIEVE_INDEX_60
Index 60.
Definition btrieveC.h:946
@ BTRIEVE_INDEX_93
Index 93.
Definition btrieveC.h:1012
@ BTRIEVE_INDEX_12
Index 12.
Definition btrieveC.h:850
@ BTRIEVE_INDEX_105
Index 105.
Definition btrieveC.h:1036
@ BTRIEVE_INDEX_UNKNOWN
Unknown.
Definition btrieveC.h:1072
@ BTRIEVE_INDEX_110
Index 110.
Definition btrieveC.h:1046
@ BTRIEVE_INDEX_2
Index 2.
Definition btrieveC.h:830
@ BTRIEVE_INDEX_64
Index 64.
Definition btrieveC.h:954
@ BTRIEVE_INDEX_100
Index 100.
Definition btrieveC.h:1026
@ BTRIEVE_INDEX_116
Index 116.
Definition btrieveC.h:1058
@ BTRIEVE_INDEX_88
Index 88.
Definition btrieveC.h:1002
@ BTRIEVE_INDEX_52
Index 52.
Definition btrieveC.h:930
@ BTRIEVE_INDEX_47
Index 47.
Definition btrieveC.h:920
@ BTRIEVE_INDEX_77
Index 77.
Definition btrieveC.h:980
@ BTRIEVE_INDEX_83
Index 83.
Definition btrieveC.h:992
@ BTRIEVE_INDEX_49
Index 49.
Definition btrieveC.h:924
@ BTRIEVE_INDEX_36
Index 36.
Definition btrieveC.h:898
@ BTRIEVE_INDEX_53
Index 53.
Definition btrieveC.h:932
@ BTRIEVE_INDEX_43
Index 43.
Definition btrieveC.h:912
@ BTRIEVE_INDEX_78
Index 78.
Definition btrieveC.h:982
@ BTRIEVE_INDEX_70
Index 70.
Definition btrieveC.h:966
@ BTRIEVE_INDEX_11
Index 11.
Definition btrieveC.h:848
@ BTRIEVE_INDEX_68
Index 68.
Definition btrieveC.h:962
@ BTRIEVE_INDEX_115
Index 115.
Definition btrieveC.h:1056
@ BTRIEVE_INDEX_85
Index 85.
Definition btrieveC.h:996
@ BTRIEVE_INDEX_90
Index 90.
Definition btrieveC.h:1006
@ BTRIEVE_INDEX_55
Index 55.
Definition btrieveC.h:936
@ BTRIEVE_INDEX_117
Index 117.
Definition btrieveC.h:1060
@ BTRIEVE_INDEX_16
Index 16.
Definition btrieveC.h:858
@ BTRIEVE_INDEX_31
Index 31.
Definition btrieveC.h:888
@ BTRIEVE_INDEX_73
Index 73.
Definition btrieveC.h:972
@ BTRIEVE_INDEX_23
Index 23.
Definition btrieveC.h:872
@ BTRIEVE_INDEX_56
Index 56.
Definition btrieveC.h:938
@ BTRIEVE_INDEX_81
Index 81.
Definition btrieveC.h:988
@ BTRIEVE_INDEX_7
Index 7.
Definition btrieveC.h:840
@ BTRIEVE_INDEX_48
Index 48.
Definition btrieveC.h:922
@ BTRIEVE_INDEX_102
Index 102.
Definition btrieveC.h:1030
@ BTRIEVE_INDEX_40
Index 40.
Definition btrieveC.h:906
@ BTRIEVE_INDEX_45
Index 45.
Definition btrieveC.h:916
@ BTRIEVE_INDEX_25
Index 25.
Definition btrieveC.h:876
@ BTRIEVE_INDEX_65
Index 65.
Definition btrieveC.h:956
@ BTRIEVE_INDEX_113
Index 113.
Definition btrieveC.h:1052
@ BTRIEVE_INDEX_42
Index 42.
Definition btrieveC.h:910
@ BTRIEVE_INDEX_95
Index 95.
Definition btrieveC.h:1016
@ BTRIEVE_INDEX_94
Index 94.
Definition btrieveC.h:1014
@ BTRIEVE_INDEX_58
Index 58.
Definition btrieveC.h:942
@ BTRIEVE_INDEX_22
Index 22.
Definition btrieveC.h:870
@ BTRIEVE_INDEX_SYSTEM_VERSION_2
System Version 2.
Definition btrieveC.h:1066
@ BTRIEVE_INDEX_99
Index 99.
Definition btrieveC.h:1024
@ BTRIEVE_INDEX_82
Index 82.
Definition btrieveC.h:990
@ BTRIEVE_INDEX_6
Index 6.
Definition btrieveC.h:838
@ BTRIEVE_INDEX_10
Index 10.
Definition btrieveC.h:846
@ BTRIEVE_INDEX_61
Index 61.
Definition btrieveC.h:948
@ BTRIEVE_INDEX_118
Index 118.
Definition btrieveC.h:1062
@ BTRIEVE_INDEX_33
Index 33.
Definition btrieveC.h:892
@ BTRIEVE_INDEX_SYSTEM
System.
Definition btrieveC.h:1068
@ BTRIEVE_INDEX_107
Index 107.
Definition btrieveC.h:1040
@ BTRIEVE_INDEX_62
Index 62.
Definition btrieveC.h:950
@ BTRIEVE_INDEX_34
Index 34.
Definition btrieveC.h:894
@ BTRIEVE_INDEX_79
Index 79.
Definition btrieveC.h:984
@ BTRIEVE_INDEX_46
Index 46.
Definition btrieveC.h:918
@ BTRIEVE_INDEX_15
Index 15.
Definition btrieveC.h:856
@ BTRIEVE_INDEX_84
Index 84.
Definition btrieveC.h:994
@ BTRIEVE_INDEX_28
Index 28.
Definition btrieveC.h:882
@ BTRIEVE_INDEX_98
Index 98.
Definition btrieveC.h:1022
@ BTRIEVE_INDEX_75
Index 75.
Definition btrieveC.h:976
@ BTRIEVE_INDEX_86
Index 86.
Definition btrieveC.h:998
@ BTRIEVE_INDEX_3
Index 3.
Definition btrieveC.h:832
@ BTRIEVE_INDEX_91
Index 91.
Definition btrieveC.h:1008
@ BTRIEVE_INDEX_119
Index 119.
Definition btrieveC.h:1064
@ BTRIEVE_INDEX_59
Index 59.
Definition btrieveC.h:944
@ BTRIEVE_INDEX_101
Index 101.
Definition btrieveC.h:1028
@ BTRIEVE_INDEX_44
Index 44.
Definition btrieveC.h:914
@ BTRIEVE_INDEX_38
Index 38.
Definition btrieveC.h:902
@ BTRIEVE_INDEX_111
Index 111.
Definition btrieveC.h:1048
@ BTRIEVE_INDEX_66
Index 66.
Definition btrieveC.h:958
@ BTRIEVE_INDEX_63
Index 63.
Definition btrieveC.h:952
@ BTRIEVE_INDEX_41
Index 41.
Definition btrieveC.h:908
@ BTRIEVE_INDEX_96
Index 96.
Definition btrieveC.h:1018
@ BTRIEVE_INDEX_51
Index 51.
Definition btrieveC.h:928
@ BTRIEVE_INDEX_5
Index 5.
Definition btrieveC.h:836
@ BTRIEVE_INDEX_27
Index 27.
Definition btrieveC.h:880
@ BTRIEVE_INDEX_1
Index 1.
Definition btrieveC.h:828
@ BTRIEVE_INDEX_92
Index 92.
Definition btrieveC.h:1010
@ BTRIEVE_INDEX_76
Index 76.
Definition btrieveC.h:978
@ BTRIEVE_INDEX_80
Index 80.
Definition btrieveC.h:986
@ BTRIEVE_INDEX_69
Index 69.
Definition btrieveC.h:964
@ BTRIEVE_INDEX_87
Index 87.
Definition btrieveC.h:1000
@ BTRIEVE_INDEX_97
Index 97.
Definition btrieveC.h:1020
@ BTRIEVE_INDEX_18
Index 18.
Definition btrieveC.h:862
@ BTRIEVE_INDEX_21
Index 21.
Definition btrieveC.h:868
@ BTRIEVE_INDEX_13
Index 13.
Definition btrieveC.h:852
@ BTRIEVE_INDEX_72
Index 72.
Definition btrieveC.h:970
@ BTRIEVE_INDEX_20
Index 20.
Definition btrieveC.h:866
@ BTRIEVE_INDEX_54
Index 54.
Definition btrieveC.h:934
@ BTRIEVE_INDEX_26
Index 26.
Definition btrieveC.h:878
@ BTRIEVE_INDEX_67
Index 67.
Definition btrieveC.h:960
@ BTRIEVE_INDEX_37
Index 37.
Definition btrieveC.h:900
@ BTRIEVE_INDEX_74
Index 74.
Definition btrieveC.h:974
@ BTRIEVE_INDEX_35
Index 35.
Definition btrieveC.h:896
@ BTRIEVE_INDEX_106
Index 106.
Definition btrieveC.h:1038
@ BTRIEVE_INDEX_57
Index 57.
Definition btrieveC.h:940
@ BTRIEVE_INDEX_32
Index 32.
Definition btrieveC.h:890
@ BTRIEVE_INDEX_24
Index 24.
Definition btrieveC.h:874
@ BTRIEVE_INDEX_NONE
None.
Definition btrieveC.h:1070
@ BTRIEVE_INDEX_71
Index 71.
Definition btrieveC.h:968
@ BTRIEVE_INDEX_4
Index 4.
Definition btrieveC.h:834
@ BTRIEVE_INDEX_109
Index 109.
Definition btrieveC.h:1044
@ BTRIEVE_INDEX_114
Index 114.
Definition btrieveC.h:1054
@ BTRIEVE_INDEX_30
Index 30.
Definition btrieveC.h:886
@ BTRIEVE_INDEX_17
Index 17.
Definition btrieveC.h:860
@ BTRIEVE_INDEX_103
Index 103.
Definition btrieveC.h:1032
@ BTRIEVE_INDEX_8
Index 8.
Definition btrieveC.h:842
@ BTRIEVE_INDEX_39
Index 39.
Definition btrieveC.h:904
@ BTRIEVE_INDEX_112
Index 112.
Definition btrieveC.h:1050
@ BTRIEVE_INDEX_29
Index 29.
Definition btrieveC.h:884
@ BTRIEVE_INDEX_108
Index 108.
Definition btrieveC.h:1042
@ BTRIEVE_INDEX_89
Index 89.
Definition btrieveC.h:1004
@ BTRIEVE_INDEX_104
Index 104.
Definition btrieveC.h:1034
@ BTRIEVE_INDEX_9
Index 9.
Definition btrieveC.h:844
@ BTRIEVE_INDEX_19
Index 19.
Definition btrieveC.h:864
@ BTRIEVE_INDEX_50
Index 50.
Definition btrieveC.h:926
@ BTRIEVE_INDEX_14
Index 14.
Definition btrieveC.h:854
int BtrieveFileRecordRetrievePrevious(btrieve_file_t file, char *key, int keySize, char *record, int recordSize, btrieve_lock_mode_t lockMode)
Record retrieve previous for a Btrieve file.
btrieve_data_type_t
The Btrieve data types.
Definition btrieveC.h:1079
@ BTRIEVE_DATA_TYPE_GUID
Globally unique identifier.
Definition btrieveC.h:1119
@ BTRIEVE_DATA_TYPE_BFLOAT
BASIC float.
Definition btrieveC.h:1117
@ BTRIEVE_DATA_TYPE_LEGACY_BINARY
Legacy binary.
Definition btrieveC.h:1127
@ BTRIEVE_DATA_TYPE_CLOB
Character large object.
Definition btrieveC.h:1131
@ BTRIEVE_DATA_TYPE_BIT
Bit.
Definition btrieveC.h:1135
@ BTRIEVE_DATA_TYPE_CHAR
Character.
Definition btrieveC.h:1081
@ BTRIEVE_DATA_TYPE_ZSTRING
Null terminated string.
Definition btrieveC.h:1083
@ BTRIEVE_DATA_TYPE_LOGICAL
Logical.
Definition btrieveC.h:1109
@ BTRIEVE_DATA_TYPE_TIMESTAMP
Timestamp.
Definition btrieveC.h:1107
@ BTRIEVE_DATA_TYPE_NUMERICSTB
Numeric sign trailing COBOL.
Definition btrieveC.h:1141
@ BTRIEVE_DATA_TYPE_INTEGER
Integer.
Definition btrieveC.h:1085
@ BTRIEVE_DATA_TYPE_TIMESTAMP2
Nanosecond resolution timestamp.
Definition btrieveC.h:1133
@ BTRIEVE_DATA_TYPE_WZSTRING
Wide null terminated string.
Definition btrieveC.h:1115
@ BTRIEVE_DATA_TYPE_NUMERICSTS
Numeric sign trailing separate.
Definition btrieveC.h:1095
@ BTRIEVE_DATA_TYPE_LEGACY_STRING
Legacy string.
Definition btrieveC.h:1125
@ BTRIEVE_DATA_TYPE_NUMERICSLS
Numeric sign leading separate.
Definition btrieveC.h:1139
@ BTRIEVE_DATA_TYPE_NUMERIC
Numeric.
Definition btrieveC.h:1113
@ BTRIEVE_DATA_TYPE_TIME
Time.
Definition btrieveC.h:1097
@ BTRIEVE_DATA_TYPE_AUTOTIMESTAMP
Automatic timestamp.
Definition btrieveC.h:1129
@ BTRIEVE_DATA_TYPE_NUMERICSA
Numeric signed ASCII.
Definition btrieveC.h:1099
@ BTRIEVE_DATA_TYPE_CURRENCY
Currency.
Definition btrieveC.h:1103
@ BTRIEVE_DATA_TYPE_DATE
Date.
Definition btrieveC.h:1093
@ BTRIEVE_DATA_TYPE_UNSIGNED_BINARY
Unsigned binary.
Definition btrieveC.h:1087
@ BTRIEVE_DATA_TYPE_DECIMAL
Decimal.
Definition btrieveC.h:1101
@ BTRIEVE_DATA_TYPE_NULL_INDICATOR_SEGMENT
Null indicator segment.
Definition btrieveC.h:1123
@ BTRIEVE_DATA_TYPE_WSTRING
Wide string.
Definition btrieveC.h:1111
@ BTRIEVE_DATA_TYPE_NUMERICSLB
Numeric sign leading COBOL.
Definition btrieveC.h:1137
@ BTRIEVE_DATA_TYPE_AUTOINCREMENT
Automatic increment.
Definition btrieveC.h:1091
@ BTRIEVE_DATA_TYPE_MONEY
Money.
Definition btrieveC.h:1105
@ BTRIEVE_DATA_TYPE_FLOAT
Float.
Definition btrieveC.h:1089
@ BTRIEVE_DATA_TYPE_UNKNOWN
Unknown.
Definition btrieveC.h:1143
@ BTRIEVE_DATA_TYPE_LSTRING
Length first string.
Definition btrieveC.h:1121
btrieve_status_code_t BtrieveFileAttributesSetVariableLengthRecordsMode(btrieve_file_attributes_t fileAttributes, btrieve_variable_length_records_mode_t variableLengthRecordsMode)
Set variable length records mode for a Btrieve file attributes.
btrieve_status_code_t BtrieveFileAttributesSetFreeSpaceThreshold(btrieve_file_attributes_t fileAttributes, btrieve_free_space_threshold_t freeSpaceThreshold)
Set free space threshold for a Btrieve file attributes.
btrieve_status_code_t BtrieveBulkRetrieveAttributesSetMaximumRecordCount(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, int maximumRecordCount)
Set maximum record count for a Btrieve bulk retrieve attributes.
int BtrieveFileInformationGetSecurityHandleWorkgroup(btrieve_file_information_t fileInformation)
Get security handle workgroup from a Btrieve file information.
btrieve_status_code_t BtrieveFilterSetACSUserDefined(btrieve_filter_t filter, const char *name)
Set ACS user defined for a Btrieve filter.
btrieve_status_code_t BtrieveFilterSetConnector(btrieve_filter_t filter, btrieve_connector_t connector)
Set connector for a Btrieve filter.
btrieve_version_type_t BtrieveVersionGetClientVersionType(btrieve_version_t version)
Get client version type from a Btrieve version.
struct btrieve_bulk_create_result * btrieve_bulk_create_result_t
A Btrieve bulk create result.
Definition btrieveC.h:1273
int BtrieveBulkCreateResultGetRecordCount(btrieve_bulk_create_result_t bulkCreateResult)
Get record count from a Btrieve bulk create result
int BtrieveFileInformationGetSecurityHandleImplicit(btrieve_file_information_t fileInformation)
Get security handle implicit from a Btrieve file information.
btrieve_status_code_t BtrieveClientTransactionAbort(btrieve_client_t client)
Transaction abort for a Btrieve client.
int BtrieveFileInformationGetSystemIndexVersion(btrieve_file_information_t fileInformation)
Get system index version from a Btrieve file information.
int BtrieveFileRecordRetrieveNext(btrieve_file_t file, char *key, int keySize, char *record, int recordSize, btrieve_lock_mode_t lockMode)
Record retrieve next for a Btrieve file.
int BtrieveFileInformationGetUnusedPageCount(btrieve_file_information_t fileInformation)
Get unused page count from a Btrieve file information.
btrieve_status_code_t BtrieveFileAttributesSetPageSize(btrieve_file_attributes_t fileAttributes, btrieve_page_size_t pageSize, int enablePageCompression)
Set page size for a Btrieve file attributes.
int BtrieveFileInformationGetLoggable(btrieve_file_information_t fileInformation)
Get loggable from a Btrieve file information.
btrieve_null_key_mode_t BtrieveKeySegmentGetNullKeyMode(btrieve_key_segment_t keySegment)
Get null key mode from a Btrieve key segment.
long long BtrieveFileInformationGetDuplicateRecordConflictCursorPosition(btrieve_file_information_t fileInformation)
Get duplicate record conflict cursor position from a Btrieve file information.
int BtrieveFileInformationGetSecurityHandleWindowsNamedPipe(btrieve_file_information_t fileInformation)
Get security handle windows named pipe from a Btrieve file information.
btrieve_status_code_t BtrieveIndexAttributesAllocate(btrieve_index_attributes_t *btrieveIndexAttributesPtr)
Allocate a Btrieve index attributes.
int BtrieveFileInformationGetUnusedDuplicatePointerCount(btrieve_file_information_t fileInformation)
Get unused duplicate pointer count from a Btrieve file information.
int BtrieveKeySegmentGetSegmented(btrieve_key_segment_t keySegment)
Get segmented from a Btrieve key segment.
int BtrieveFileInformationGetLockOwnerTransactionLevel(btrieve_file_information_t fileInformation)
Get lock owner transaction level from a Btrieve file information.
int BtrieveKeySegmentGetKeyContinues(btrieve_key_segment_t keySegment)
Get key continues from a Btrieve key segment.
struct btrieve_file_attributes * btrieve_file_attributes_t
A Btrieve file attributes.
Definition btrieveC.h:1309
btrieve_status_code_t BtrieveClientContinuousOperationBegin(btrieve_client_t client, const char *pathNames)
Continuous operation begin for a Btrieve client.
btrieve_status_code_t BtrieveClientFileDelete(btrieve_client_t client, const char *fileName)
File delete for a Btrieve client.
btrieve_status_code_t BtrieveKeySegmentSetNullValue(btrieve_key_segment_t keySegment, int nullValue)
Set null value for a Btrieve key segment.
btrieve_status_code_t BtrieveClientContinuousOperationEndW(btrieve_client_t client, const wchar_t *pathNames)
Continuous operation end for a Btrieve client.
btrieve_status_code_t BtrieveBulkCreatePayloadAllocate(btrieve_bulk_create_payload_t *btrieveBulkCreatePayloadPtr)
Allocate a Btrieve bulk create payload.
int BtrieveFileInformationGetOpenTimestamp(btrieve_file_information_t fileInformation)
Get open timestamp from a Btrieve file information.
const char * BtrievePageSizeToString(btrieve_page_size_t pageSize)
Return a Btrieve page size as a string.
struct btrieve_filter * btrieve_filter_t
A Btrieve filter.
Definition btrieveC.h:1317
int BtrieveFileInformationGetSecurityPermissionOpen(btrieve_file_information_t fileInformation)
Get security permission open from a Btrieve file information.
btrieve_version_type_t BtrieveVersionGetLocalVersionType(btrieve_version_t version)
Get local version type from a Btrieve version.
btrieve_status_code_t BtrieveFilterSetACSMode(btrieve_filter_t filter, btrieve_acs_mode_t ACSMode)
Set ACS mode for a Btrieve filter.
btrieve_status_code_t BtrieveBulkDeleteResultGetLastStatusCode(btrieve_bulk_delete_result_t bulkDeleteResult)
Get last status code from a Btrieve bulk delete result
btrieve_status_code_t BtrieveFileAttributesSetSystemDataMode(btrieve_file_attributes_t fileAttributes, btrieve_system_data_mode_t systemDataMode)
Set system data mode for a Btrieve file attributes.
btrieve_status_code_t BtrieveClientTransactionEnd(btrieve_client_t client)
Transaction end for a Btrieve client.
btrieve_status_code_t BtrieveIndexAttributesSetACSNumber(btrieve_index_attributes_t indexAttributes, int ACSNumber)
Set ACS number for a Btrieve index attributes.
int BtrieveFileRecordRetrieveChunk(btrieve_file_t file, int offset, int length, char *chunk, int chunkSize, btrieve_lock_mode_t lockMode)
Record retrieve chunk for a Btrieve file.
btrieve_status_code_t BtrieveFilterSetComparisonField(btrieve_filter_t filter, int offset)
Set comparison field for a Btrieve filter.
btrieve_status_code_t BtrieveClientContinuousOperationEnd(btrieve_client_t client, const char *pathNames)
Continuous operation end for a Btrieve client.
btrieve_status_code_t BtrieveBulkRetrieveAttributesSetMaximumRejectCount(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, int maximumRejectCount)
Set maximum reject count for a Btrieve bulk retrieve attributes.
btrieve_status_code_t BtrieveFileAttributesAllocate(btrieve_file_attributes_t *btrieveFileAttributesPtr)
Allocate a Btrieve file attributes.
int BtrieveFileInformationGetWrongOwner(btrieve_file_information_t fileInformation)
Get wrong owner from a Btrieve file information.
int BtrieveFileInformationGetSecurityHandleAuthorizationByDatabase(btrieve_file_information_t fileInformation)
Get security handle authorization by database from a Btrieve file information.
const char * BtrieveOwnerModeToString(btrieve_owner_mode_t ownerMode)
Return a Btrieve owner mode as a string.
int BtrieveBulkRetrieveResultGetRecordLength(btrieve_bulk_retrieve_result_t bulkRetrieveResult, int recordNumber)
Get record length from a Btrieve bulk retrieve result
btrieve_status_code_t BtrieveIndexAttributesSetACSUserDefined(btrieve_index_attributes_t indexAttributes, const char *ACSName, const char *ACSMap, int ACSMapLength)
Set ACS user defined for a Btrieve index attributes.
btrieve_variable_length_records_mode_t BtrieveFileInformationGetVariableLengthRecordsMode(btrieve_file_information_t fileInformation)
Get variable length records mode from a Btrieve file information
int BtrieveFileInformationGetExplicitLocks(btrieve_file_information_t fileInformation)
Get explicit locks from a Btrieve file information.
btrieve_status_code_t BtrieveFileRecordDelete(btrieve_file_t file)
Record delete for a Btrieve file.
int BtrieveFileInformationGetSecurityHandleRTSSPreauthorized(btrieve_file_information_t fileInformation)
Get security handle RTSS preauthorized from a Btrieve file information.
int BtrieveFileInformationGetClientTransactions(btrieve_file_information_t fileInformation)
Get client transactions from a Btrieve file information.
long long BtrieveBulkCreateResultGetRecordCursorPosition(btrieve_bulk_create_result_t bulkCreateResult, int recordNumber)
Get record cursor position from a Btrieve bulk create result
const char * BtrieveEncryptionTypeToString(btrieve_encrypt_type_t encryptType)
Return a Btrieve encryption type as a string.
btrieve_record_compression_mode_t BtrieveFileInformationGetRecordCompressionMode(btrieve_file_information_t fileInformation)
Get record compression mode from a Btrieve file information.
btrieve_status_code_t BtrieveFilterSetSystemField(btrieve_filter_t filter, btrieve_system_field_t systemField)
Set system field for a Btrieve filter.
const char * BtrieveVersionTypeToString(btrieve_version_type_t versionType)
Return a Btrieve version type as a string.
btrieve_encrypt_type_t
The Btrieve file encryption types.
Definition btrieveC.h:785
@ BTRIEVE_ENCRYPT_TYPE_128_BIT
128-bit encryption.
Definition btrieveC.h:791
@ BTRIEVE_ENCRYPT_TYPE_UNKNOWN
Unknown.
Definition btrieveC.h:797
@ BTRIEVE_ENCRYPT_TYPE_NONE
None.
Definition btrieveC.h:787
@ BTRIEVE_ENCRYPT_TYPE_AES_192
AES-192 encryption.
Definition btrieveC.h:793
@ BTRIEVE_ENCRYPT_TYPE_AES_256
AES-256 encryption.
Definition btrieveC.h:795
@ BTRIEVE_ENCRYPT_TYPE_TRADITIONAL
Traditional encryption.
Definition btrieveC.h:789
btrieve_status_code_t BtrieveClientLogoutW(btrieve_client_t client, const wchar_t *databaseURI)
Logout for a Btrieve client.
int BtrieveKeySegmentGetLength(btrieve_key_segment_t keySegment)
Get length from a Btrieve key segment.
long long BtrieveBulkDeleteResultGetRecordCursorPosition(btrieve_bulk_delete_result_t bulkDeleteResult, int recordNumber)
Get record cursor position from a Btrieve bulk delete result
btrieve_status_code_t BtrieveFileIndexDrop(btrieve_file_t file, btrieve_index_t index)
Index drop for a Btrieve file.
btrieve_status_code_t BtrieveBulkDeleteResultFree(btrieve_bulk_delete_result_t bulkDeleteResult)
Free a Btrieve bulk delete result.
btrieve_free_space_threshold_t BtrieveFileInformationGetFreeSpaceThreshold(btrieve_file_information_t fileInformation)
Get free space threshold from a Btrieve file information.
btrieve_status_code_t BtrieveBulkRetrieveAttributesAddSystemField(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, btrieve_system_field_t systemField)
Add a system field to a Btrieve bulk retrieve attributes.
btrieve_owner_mode_t BtrieveFileInformationGetOwnerMode(btrieve_file_information_t fileInformation)
Get owner mode from a Btrieve file information.
int BtrieveFileInformationGetFixedRecordLength(btrieve_file_information_t fileInformation)
Get fixed record length from a Btrieve file information.
btrieve_status_code_t BtrieveFileRecordUpdate(btrieve_file_t file, const char *record, int recordLength)
Record update for a Btrieve file.
btrieve_status_code_t BtrieveIndexAttributesSetModifiable(btrieve_index_attributes_t indexAttributes, int enableModifiable)
Set modifiable for a Btrieve index attributes.
int BtrieveFileInformationGetSecurityCurrentDatabaseWorkgroup(btrieve_file_information_t fileInformation)
Get security current database workgroup from a Btrieve file information.
btrieve_status_code_t BtrieveClientFileOpen(btrieve_client_t client, btrieve_file_t *btrieveFilePtr, const char *fileName, const char *ownerName, btrieve_open_mode_t openMode, btrieve_location_mode_t locationMode)
File open for a Btrieve client.
struct btrieve_file * btrieve_file_t
A Btrieve file.
Definition btrieveC.h:1302
btrieve_status_code_t BtrieveClientFileRename(btrieve_client_t client, const char *existingFileName, const char *newFileName)
File rename for a Btrieve client.
btrieve_status_code_t BtrieveFileKeyRetrieve(btrieve_file_t file, btrieve_comparison_t comparison, btrieve_index_t index, char *key, int keyLength)
Key retrieve for a Btrieve file.
int BtrieveFileInformationGetSystemIndex(btrieve_file_information_t fileInformation)
Get system index from a Btrieve file information.
btrieve_status_code_t BtrieveBulkRetrieveAttributesAllocate(btrieve_bulk_retrieve_attributes_t *bulkRetrieveAttributesPtr)
Allocate a Btrieve bulk retrieve attributes.
int BtrieveFileInformationGetIdentifier(btrieve_file_information_t fileInformation)
Get identifier from a Btrieve file information.
btrieve_status_code_t BtrieveClientGetVersion(btrieve_client_t client, btrieve_version_t version, btrieve_file_t file)
Get version from a Btrieve client
btrieve_status_code_t BtrieveClientContinuousOperationBeginW(btrieve_client_t client, const wchar_t *pathNames)
Continuous operation begin for a Btrieve client.
btrieve_status_code_t BtrieveClientGetCurrentDirectory(btrieve_client_t client, btrieve_disk_drive_t diskDrive, char *currentDirectory, int currentDirectorySize)
Get current directory from a Btrieve client
btrieve_status_code_t BtrieveBulkCreateResultGetLastStatusCode(btrieve_bulk_create_result_t bulkCreateResult)
Get last status code from a Btrieve bulk create result
btrieve_status_code_t BtrieveFilterSetField(btrieve_filter_t filter, int offset, int length, btrieve_data_type_t dataType)
Set field for a Btrieve filter.
int BtrieveFileInformationGetSecurityCurrentDatabaseAuthorizationByDatabase(btrieve_file_information_t fileInformation)
Get security current database authorization by database from a Btrieve file information.
struct btrieve_bulk_retrieve_result * btrieve_bulk_retrieve_result_t
A Btrieve bulk retrieve result.
Definition btrieveC.h:1285
btrieve_version_type_t BtrieveVersionGetRemoteVersionType(btrieve_version_t version)
Get remote version type from a Btrieve version.
btrieve_status_code_t BtrieveFileKeyRetrieveFirst(btrieve_file_t file, btrieve_index_t index, char *key, int keySize)
Key retrieve first for a Btrieve file.
btrieve_system_field_t
The Btrieve system fields.
Definition btrieveC.h:1258
@ BTRIEVE_SYSTEM_FIELD_CREATE_TIME
Create time.
Definition btrieveC.h:1260
@ BTRIEVE_SYSTEM_FIELD_UNKNOWN
Unknown.
Definition btrieveC.h:1264
@ BTRIEVE_SYSTEM_FIELD_UPDATE_TIME
Update time.
Definition btrieveC.h:1262
btrieve_status_code_t BtrieveFileAttributesSetReservedDuplicatePointerCount(btrieve_file_attributes_t fileAttributes, int reservedDuplicatePointerCount)
Set reserved duplicate pointer count for a Btrieve file attributes.
btrieve_index_t BtrieveKeySegmentGetIndex(btrieve_key_segment_t keySegment)
Get index from a Btrieve key segment.
int BtrieveFileInformationGetSecurityCurrentDatabaseImplicit(btrieve_file_information_t fileInformation)
Get security current database implicit from a Btrieve file information.
int BtrieveFileInformationGetReferentialIntegrityOperationCode(btrieve_file_information_t fileInformation)
Get referential integrity operation code from a Btrieve file information.
long long BtrieveBulkRetrieveResultGetRecordCursorPosition(btrieve_bulk_retrieve_result_t bulkRetrieveResult, int recordNumber)
Get record cursor position from a Btrieve bulk retrieve result
btrieve_index_t BtrieveFileInformationGetLogIndex(btrieve_file_information_t fileInformation)
Get log index from a Btrieve file information.
btrieve_file_version_t BtrieveFileInformationGetFileVersion(btrieve_file_information_t fileInformation)
Get file version from a Btrieve file information.
int BtrieveFileInformationGetSecurityCurrentDatabaseWindowsNamedPipe(btrieve_file_information_t fileInformation)
Get security current database windows named pipe from a Btrieve file information.
btrieve_index_t BtrieveFileInformationGetDuplicateRecordConflictIndex(btrieve_file_information_t fileInformation)
Get duplicate record conflict index from a Btrieve file information.
btrieve_status_code_t BtrieveClientSetCurrentDirectoryW(btrieve_client_t client, const wchar_t *currentDirectory)
Set current directory for a Btrieve client.
btrieve_status_code_t BtrieveFileRecordDeleteChunk(btrieve_file_t file, int offset, int chunkLength)
Record delete chunk for a Btrieve file.
btrieve_status_code_t BtrieveKeySegmentAllocate(btrieve_key_segment_t *btrieveKeySegmentPtr)
Allocate a Btrieve key segment.
btrieve_disk_drive_t
The Btrieve disk drives.
Definition btrieveC.h:621
@ BTRIEVE_DISK_DRIVE_T
Disk drive T.
Definition btrieveC.h:661
@ BTRIEVE_DISK_DRIVE_A
Disk drive A.
Definition btrieveC.h:623
@ BTRIEVE_DISK_DRIVE_U
Disk drive U.
Definition btrieveC.h:663
@ BTRIEVE_DISK_DRIVE_F
Disk drive F.
Definition btrieveC.h:633
@ BTRIEVE_DISK_DRIVE_O
Disk drive O.
Definition btrieveC.h:651
@ BTRIEVE_DISK_DRIVE_C
Disk drive C.
Definition btrieveC.h:627
@ BTRIEVE_DISK_DRIVE_P
Disk drive P.
Definition btrieveC.h:653
@ BTRIEVE_DISK_DRIVE_Z
Disk drive Z.
Definition btrieveC.h:673
@ BTRIEVE_DISK_DRIVE_D
Disk drive D.
Definition btrieveC.h:629
@ BTRIEVE_DISK_DRIVE_E
Disk drive E.
Definition btrieveC.h:631
@ BTRIEVE_DISK_DRIVE_K
Disk drive K.
Definition btrieveC.h:643
@ BTRIEVE_DISK_DRIVE_G
Disk drive G.
Definition btrieveC.h:635
@ BTRIEVE_DISK_DRIVE_R
Disk drive R.
Definition btrieveC.h:657
@ BTRIEVE_DISK_DRIVE_J
Disk drive J.
Definition btrieveC.h:641
@ BTRIEVE_DISK_DRIVE_B
Disk drive B.
Definition btrieveC.h:625
@ BTRIEVE_DISK_DRIVE_M
Disk drive M.
Definition btrieveC.h:647
@ BTRIEVE_DISK_DRIVE_S
Disk drive S.
Definition btrieveC.h:659
@ BTRIEVE_DISK_DRIVE_W
Disk drive W.
Definition btrieveC.h:667
@ BTRIEVE_DISK_DRIVE_DEFAULT
Default.
Definition btrieveC.h:675
@ BTRIEVE_DISK_DRIVE_X
Disk drive X.
Definition btrieveC.h:669
@ BTRIEVE_DISK_DRIVE_Y
Disk drive Y.
Definition btrieveC.h:671
@ BTRIEVE_DISK_DRIVE_Q
Disk drive Q.
Definition btrieveC.h:655
@ BTRIEVE_DISK_DRIVE_I
Disk drive I.
Definition btrieveC.h:639
@ BTRIEVE_DISK_DRIVE_L
Disk drive L.
Definition btrieveC.h:645
@ BTRIEVE_DISK_DRIVE_V
Disk drive V.
Definition btrieveC.h:665
@ BTRIEVE_DISK_DRIVE_H
Disk drive H.
Definition btrieveC.h:637
@ BTRIEVE_DISK_DRIVE_UNKNOWN
Unknown.
Definition btrieveC.h:677
@ BTRIEVE_DISK_DRIVE_N
Disk drive N.
Definition btrieveC.h:649
int BtrieveBulkDeleteResultGetRecordCount(btrieve_bulk_delete_result_t bulkDeleteResult)
Get record count from a Btrieve bulk delete result
btrieve_free_space_threshold_t
The Btrieve free space thresholds.
Definition btrieveC.h:1173
@ BTRIEVE_FREE_SPACE_THRESHOLD_DEFAULT
Default.
Definition btrieveC.h:1181
@ BTRIEVE_FREE_SPACE_THRESHOLD_10_PERCENT
Free space threshold 10%.
Definition btrieveC.h:1175
@ BTRIEVE_FREE_SPACE_THRESHOLD_UNKNOWN
Unknown.
Definition btrieveC.h:1183
@ BTRIEVE_FREE_SPACE_THRESHOLD_30_PERCENT
Free space threshold 30%.
Definition btrieveC.h:1179
@ BTRIEVE_FREE_SPACE_THRESHOLD_20_PERCENT
Free space threshold 20%.
Definition btrieveC.h:1177
int BtrieveFileInformationGetSecurityPermissionRead(btrieve_file_information_t fileInformation)
Get security permission read from a Btrieve file information.
btrieve_status_code_t BtrieveBulkCreatePayloadFree(btrieve_bulk_create_payload_t bulkCreatePayload)
Free a Btrieve bulk create payload.
int BtrieveFileInformationGetSecurityHandleRTSSDisabled(btrieve_file_information_t fileInformation)
Get security handle RTSS disabled from a Btrieve file information.
btrieve_version_type_t
The Btrieve version types.
Definition btrieveC.h:682
@ BTRIEVE_VERSION_TYPE_NONE
None.
Definition btrieveC.h:684
@ BTRIEVE_VERSION_TYPE_WORKGROUP_ENGINE
Workgroup engine.
Definition btrieveC.h:688
@ BTRIEVE_VERSION_TYPE_CLIENT_ENGINE
Client engine.
Definition btrieveC.h:698
@ BTRIEVE_VERSION_TYPE_CLIENT_REQUESTOR
Client.
Definition btrieveC.h:692
@ BTRIEVE_VERSION_TYPE_BTRIEVE_ENGINE
Btrieve engine.
Definition btrieveC.h:686
@ BTRIEVE_VERSION_TYPE_DOS_WORKSTATION
DOS workstation.
Definition btrieveC.h:690
@ BTRIEVE_VERSION_TYPE_UNIX
UNIX.
Definition btrieveC.h:696
@ BTRIEVE_VERSION_TYPE_UNKNOWN
Unknown.
Definition btrieveC.h:700
@ BTRIEVE_VERSION_TYPE_WINDOWS_SERVER_ENGINE
Windows server engine.
Definition btrieveC.h:694
btrieve_status_code_t BtrieveVersionAllocate(btrieve_version_t *btrieveVersionPtr)
Allocate a Btrieve version.
btrieve_status_code_t BtrieveIndexAttributesAddKeySegment(btrieve_index_attributes_t indexAttributes, btrieve_key_segment_t keySegment)
segment for a Btrieve index attributes Addkey
btrieve_status_code_t BtrieveFileAttributesSetFileVersion(btrieve_file_attributes_t fileAttributes, btrieve_file_version_t fileVersion)
Set file version for a Btrieve file attributes.
btrieve_status_code_t BtrieveClientFree(btrieve_client_t client)
Free a Btrieve client.
int BtrieveFileInformationGetKeyOnly(btrieve_file_information_t fileInformation)
Get key only from a Btrieve file information.
int BtrieveFileInformationGetSecurityPermissionRefer(btrieve_file_information_t fileInformation)
Get security permission refer from a Btrieve file information.
btrieve_status_code_t BtrieveFileRecordAppendChunk(btrieve_file_t file, const char *chunk, int chunkLength)
Record append chunk for a Btrieve file.
int BtrieveFileInformationGetSystemIndexSize(btrieve_file_information_t fileInformation)
Get system index size from a Btrieve file information.
btrieve_create_mode_t
The Btrieve create modes.
Definition btrieveC.h:706
@ BTRIEVE_CREATE_MODE_NO_OVERWRITE
No overwrite.
Definition btrieveC.h:710
@ BTRIEVE_CREATE_MODE_UNKNOWN
Unknown.
Definition btrieveC.h:712
@ BTRIEVE_CREATE_MODE_OVERWRITE
Overwrite.
Definition btrieveC.h:708
btrieve_duplicate_mode_t BtrieveKeySegmentGetDuplicateMode(btrieve_key_segment_t keySegment)
Get duplicate mode from a Btrieve key segment.
btrieve_status_code_t BtrieveFileRecordTruncate(btrieve_file_t file, int offset)
Record truncate for a Btrieve file.
btrieve_status_code_t BtrieveBulkDeleteAttributesSetMaximumRecordCount(btrieve_bulk_delete_attributes_t bulkDeleteAttributes, int maximumRecordCount)
Set maximum record count for a Btrieve bulk delete attributes.
const char * BtrieveLockModeToString(btrieve_lock_mode_t lockMode)
Return a Btrieve lock mode as a string.
btrieve_status_code_t BtrieveFileInformationGetSecurityHandleTableName(btrieve_file_information_t fileInformation, char *name, int nameSize)
Get security handle table name from a Btrieve file information
btrieve_status_code_t BtrieveFilterFree(btrieve_filter_t filter)
Free a Btrieve filter.
btrieve_status_code_t BtrieveFileInformationGetSecurityCurrentUserName(btrieve_file_information_t fileInformation, char *name, int nameSize)
Get security current user name from a Btrieve file information
int BtrieveKeySegmentGetModifiable(btrieve_key_segment_t keySegment)
Get modifiable from a Btrieve key segment.
btrieve_acs_mode_t BtrieveKeySegmentGetACSMode(btrieve_key_segment_t keySegment)
Get ACS mode from a Btrieve key segment.
btrieve_status_code_t BtrieveKeySegmentSetDescendingSortOrder(btrieve_key_segment_t keySegment, int setDescendingSortOrder)
Set descending sort order for a Btrieve key segment.
btrieve_status_code_t BtrieveFileInformationGetReferentialIntegrityFileName(btrieve_file_information_t fileInformation, char *name, int nameSize)
Get referential integrity file name from a Btrieve file information
btrieve_status_code_t BtrieveClientTransactionBegin(btrieve_client_t client, btrieve_transaction_mode_t transactionMode, btrieve_lock_mode_t lockMode)
Transaction begin for a Btrieve client.
btrieve_status_code_t BtrieveBulkRetrieveResultFree(btrieve_bulk_retrieve_result_t bulkRetrieveResult)
Free a Btrieve bulk retrieve result.
btrieve_variable_length_records_mode_t
The Btrieve variable length records modes.
Definition btrieveC.h:526
@ BTRIEVE_VARIABLE_LENGTH_RECORDS_MODE_NO
No.
Definition btrieveC.h:528
@ BTRIEVE_VARIABLE_LENGTH_RECORDS_MODE_YES_VARIABLE_ALLOCATION_TAILS
Yes with variable allocation tails.
Definition btrieveC.h:532
@ BTRIEVE_VARIABLE_LENGTH_RECORDS_MODE_YES
Yes.
Definition btrieveC.h:530
@ BTRIEVE_VARIABLE_LENGTH_RECORDS_MODE_UNKNOWN
Unknown.
Definition btrieveC.h:534
int BtrieveFileRecordRetrieveByPercentage(btrieve_file_t file, btrieve_index_t index, int percentage, char *key, int keySize, char *record, int recordSize, btrieve_lock_mode_t lockMode)
Record retrieve by percentage for a Btrieve file.
int BtrieveFileInformationGetSecurityHandleAuthenticationByDatabase(btrieve_file_information_t fileInformation)
Get security handle authentication by database from a Btrieve file information.
const char * BtrieveFileVersionToString(btrieve_file_version_t fileVersion)
Return a Btrieve file version as a string.
btrieve_index_t BtrieveFileInformationGetLockOwnerIndex(btrieve_file_information_t fileInformation)
Get lock owner index from a Btrieve file information.
long long BtrieveFileGetRecordUpdateTime(btrieve_file_t file)
Get record update time from a Btrieve file.
btrieve_transaction_mode_t
The Btrieve transaction modes.
Definition btrieveC.h:801
@ BTRIEVE_TRANSACTION_MODE_CONCURRENT_NO_WRITE_WAIT
Concurrent with no write wait.
Definition btrieveC.h:807
@ BTRIEVE_TRANSACTION_MODE_CONCURRENT_WRITE_WAIT
Concurrent with write wait.
Definition btrieveC.h:805
@ BTRIEVE_TRANSACTION_MODE_UNKNOWN
Unknown.
Definition btrieveC.h:809
@ BTRIEVE_TRANSACTION_MODE_EXCLUSIVE
Exclusive.
Definition btrieveC.h:803
btrieve_status_code_t BtrieveClientFileClose(btrieve_client_t client, btrieve_file_t file)
File close for a Btrieve client.
int BtrieveFileRecordRetrieveFirst(btrieve_file_t file, btrieve_index_t index, char *key, int keySize, char *record, int recordSize, btrieve_lock_mode_t lockMode)
Record retrieve first for a Btrieve file.
int BtrieveFileInformationGetSecurityCurrentDatabaseAuthenticationByDatabase(btrieve_file_information_t fileInformation)
Get security current database authentication by database from a Btrieve file information.
int BtrieveFileInformationGetSecurityPermissionExecute(btrieve_file_information_t fileInformation)
Get security permission execute from a Btrieve file information.
int BtrieveVersionGetClientRevisionNumber(btrieve_version_t version)
Get client revision number from a Btrieve version.
btrieve_open_mode_t
The Btrieve open modes.
Definition btrieveC.h:751
@ BTRIEVE_OPEN_MODE_EXCLUSIVE
Exclusive.
Definition btrieveC.h:759
@ BTRIEVE_OPEN_MODE_UNKNOWN
Unknown.
Definition btrieveC.h:763
@ BTRIEVE_OPEN_MODE_ACCELERATED
Accelerated.
Definition btrieveC.h:755
@ BTRIEVE_OPEN_MODE_NORMAL
Normal.
Definition btrieveC.h:753
@ BTRIEVE_OPEN_MODE_READ_ONLY
Read only.
Definition btrieveC.h:757
@ BTRIEVE_OPEN_MODE_WRITABLE
Writable.
Definition btrieveC.h:761
btrieve_status_code_t BtrieveBulkDeleteAttributesAllocate(btrieve_bulk_delete_attributes_t *bulkDeleteAttributesPtr)
Allocate a Btrieve bulk delete attributes.
const char * BtrieveStatusCodeToString(btrieve_status_code_t statusCode)
Return a Btrieve status code as a string.
btrieve_status_code_t BtrieveFileAttributesFree(btrieve_file_attributes_t fileAttributes)
Free a Btrieve file attributes.
int BtrieveFileInformationGetBalancedIndexes(btrieve_file_information_t fileInformation)
Get balanced indexes from a Btrieve file information
int BtrieveFileInformationGetLockOwnerSameProcess(btrieve_file_information_t fileInformation)
Get lock owner same process from a Btrieve file information.
int BtrieveFileInformationGetSecurityCurrentDatabaseExplicit(btrieve_file_information_t fileInformation)
Get security current database explicit from a Btrieve file information.
struct btrieve_bulk_delete_attributes * btrieve_bulk_delete_attributes_t
A Btrieve bulk delete attributes.
Definition btrieveC.h:1281
int BtrieveFileRecordRetrieve(btrieve_file_t file, btrieve_comparison_t comparison, btrieve_index_t index, char *key, int keyLength, char *record, int recordSize, btrieve_lock_mode_t lockMode)
Record retrieve for a Btrieve file.
int BtrieveFileInformationGetSegmentCount(btrieve_file_information_t fileInformation)
Get segment count from a Btrieve file information.
int BtrieveVersionGetLocalRevisionNumber(btrieve_version_t version)
Get local revision number from a Btrieve version.
btrieve_unlock_mode_t
The Btrieve unlock modes.
Definition btrieveC.h:813
@ BTRIEVE_UNLOCK_MODE_MULTIPLE
Multiple.
Definition btrieveC.h:817
@ BTRIEVE_UNLOCK_MODE_UNKNOWN
Unknown.
Definition btrieveC.h:819
@ BTRIEVE_UNLOCK_MODE_SINGLE
Single.
Definition btrieveC.h:815
btrieve_status_code_t BtrieveFileKeyRetrieveNext(btrieve_file_t file, char *key, int keySize)
Key retrieve next for a Btrieve file.
btrieve_status_code_t
The Btrieve status codes.
Definition btrieveC.h:40
@ BTRIEVE_STATUS_CODE_ACCESS_TO_FILE_DENIED
46 - Access to file denied.
Definition btrieveC.h:134
@ BTRIEVE_STATUS_CODE_USER_COUNT_LIMIT_EXCEEDED
161 - User count limit exceeded.
Definition btrieveC.h:313
@ BTRIEVE_STATUS_CODE_ARCH_FILE_NOT_LOGGED
111 - Archival file not logged.
Definition btrieveC.h:256
@ BTRIEVE_STATUS_CODE_FILES_PARM_OUTOFRANGE
1007 - Files parameter out of range.
Definition btrieveC.h:349
@ BTRIEVE_STATUS_CODE_INTERNAL_ERROR
2000 - Internal error.
Definition btrieveC.h:381
@ BTRIEVE_STATUS_CODE_INVALID_GET_EXPRESSION
62 - Invalid get expression.
Definition btrieveC.h:166
@ BTRIEVE_STATUS_CODE_MKDE_SHUTTING_DOWN
1022 - MicroKernel shutting down.
Definition btrieveC.h:379
@ BTRIEVE_STATUS_CODE_NO_AVAIL_SPX_CONNECTION
2006 - No available SPX connection.
Definition btrieveC.h:393
@ BTRIEVE_STATUS_CODE_NL_INVALID_SERVER_TYPE
3113 - Network layer invalid server type.
Definition btrieveC.h:489
@ BTRIEVE_STATUS_CODE_RI_CASCADE_ERROR
69 - Referential integrity cascade error.
Definition btrieveC.h:180
@ BTRIEVE_STATUS_CODE_NULL_KEYPATH
44 - Null key path.
Definition btrieveC.h:130
@ BTRIEVE_STATUS_CODE_CHUNK_CANNOT_GET_NEXT
106 - Chunk cannot get next.
Definition btrieveC.h:248
@ BTRIEVE_STATUS_CODE_IO_ERROR
2 - Input/Output error.
Definition btrieveC.h:46
@ BTRIEVE_STATUS_CODE_OPTIMIZE_LIMIT_REACHED
64 - Optimize limit reached.
Definition btrieveC.h:170
@ BTRIEVE_STATUS_CODE_LOG_SEGMENT_MISSING
147 - Log segment missing.
Definition btrieveC.h:300
@ BTRIEVE_STATUS_CODE_TASK_LIST_FULL
1013 - Task list full.
Definition btrieveC.h:361
@ BTRIEVE_STATUS_CODE_RIDDF_CANNOT_OPEN
67 - Referential integrity SQL data dictionary files cannot open.
Definition btrieveC.h:176
@ BTRIEVE_STATUS_CODE_MK_NO_LOCAL_ACCESS_ALLOWED
3001 - MicroKernel no local access allowed.
Definition btrieveC.h:409
@ BTRIEVE_STATUS_CODE_POSITION_NOT_SET
8 - Position not set.
Definition btrieveC.h:58
@ BTRIEVE_STATUS_CODE_NUMBER_OF_INDEXES
26 - Number of indexes.
Definition btrieveC.h:94
@ BTRIEVE_STATUS_CODE_NL_RCV_DATA_OVERFLOW
3116 - Network layer receive data overflow.
Definition btrieveC.h:495
@ BTRIEVE_STATUS_CODE_NL_NDS_NAME_RESOLUTION_ERROR
3125 - Network layer NDS name resolution error.
Definition btrieveC.h:513
@ BTRIEVE_STATUS_CODE_NL_INVALID_ADDRESS_FAMILY
3118 - Network layer invalid address family.
Definition btrieveC.h:499
@ BTRIEVE_STATUS_CODE_INVALID_PREIMAGE_PARM
1005 - Invalid preimage parameter.
Definition btrieveC.h:345
@ BTRIEVE_STATUS_CODE_KEYBUFFER_TOO_SHORT
21 - Key buffer too short.
Definition btrieveC.h:84
@ BTRIEVE_STATUS_CODE_REQ_CANT_FIND_RES_DLL
1017 - Btrieve Requester can't find resource DLL.
Definition btrieveC.h:369
@ BTRIEVE_STATUS_CODE_INVALID_KEY_POSITION
27 - Invalid key position.
Definition btrieveC.h:96
@ BTRIEVE_STATUS_CODE_MAXIMUM_OPEN_FILES
47 - Maximum open files.
Definition btrieveC.h:136
@ BTRIEVE_STATUS_CODE_INVALID_RECORD_ADDRESS
43 - Invalid record address.
Definition btrieveC.h:128
@ BTRIEVE_STATUS_CODE_CHUNK_OFFSET_TOO_SMALL
151 - Chunk offset too small.
Definition btrieveC.h:309
@ BTRIEVE_STATUS_CODE_CREATE_IO_ERROR
25 - Create input/output error.
Definition btrieveC.h:92
@ BTRIEVE_STATUS_CODE_MK_BAD_SRB_FORMAT
3021 - MicroKernel bad SRB format.
Definition btrieveC.h:449
@ BTRIEVE_STATUS_CODE_LOCKERROR
81 - Lock error.
Definition btrieveC.h:200
@ BTRIEVE_STATUS_CODE_OS_ERROR
2012 - Operating system error.
Definition btrieveC.h:405
@ BTRIEVE_STATUS_CODE_COMPRESS_BUFFER_TOO_SHORT
58 - Compress buffer too short.
Definition btrieveC.h:158
@ BTRIEVE_STATUS_CODE_INVALID_PARAMETER_TO_MKDE
160 - Invalid parameter to MicroKernel.
Definition btrieveC.h:311
@ BTRIEVE_STATUS_CODE_NL_SRT_FULL
3114 - Network layer server routing table full.
Definition btrieveC.h:491
@ BTRIEVE_STATUS_CODE_FILE_NOT_FOUND
12 - File not found.
Definition btrieveC.h:66
@ BTRIEVE_STATUS_CODE_ROLL_FORWARD_ERROR
148 - Roll forward error.
Definition btrieveC.h:302
@ BTRIEVE_STATUS_CODE_REJECT_COUNT_REACHED
60 - Reject count reached.
Definition btrieveC.h:162
@ BTRIEVE_STATUS_CODE_MK_PIDS_NOT_LOADED
3025 - MicroKernel PIDs not loaded.
Definition btrieveC.h:457
@ BTRIEVE_STATUS_CODE_OWNER_ALREADY_SET
50 - Owner already set.
Definition btrieveC.h:142
@ BTRIEVE_STATUS_CODE_RECORD_INUSE
84 - Record in use.
Definition btrieveC.h:206
@ BTRIEVE_STATUS_CODE_MK_TASK_TABLE_FULL
3023 - MicroKernel task table full.
Definition btrieveC.h:453
@ BTRIEVE_STATUS_CODE_MK_NETAPI_NOT_LOADED
3009 - MicroKernel NETAPI not loaded.
Definition btrieveC.h:425
@ BTRIEVE_STATUS_CODE_NL_IDS_RCV_FAILURE
3128 - Network layer IDS receive failure.
Definition btrieveC.h:519
@ BTRIEVE_STATUS_CODE_NO_STACK_AVAIL
102 - No stack available.
Definition btrieveC.h:240
@ BTRIEVE_STATUS_CODE_INVALID_DATABASE
142 - Invalid database.
Definition btrieveC.h:290
@ BTRIEVE_STATUS_CODE_UT_THUNK_NOT_LOADED
2010 - UT thunk not loaded.
Definition btrieveC.h:401
@ BTRIEVE_STATUS_CODE_UNKNOWN
-7 - Unknown.
Definition btrieveC.h:521
@ BTRIEVE_STATUS_CODE_POSITIONBLOCK_LENGTH
23 - Position block length.
Definition btrieveC.h:88
@ BTRIEVE_STATUS_CODE_STOP_WARNING
1014 - Stop warning.
Definition btrieveC.h:363
@ BTRIEVE_STATUS_CODE_SMALL_EX_GET_BUFFER_ERROR
61 - Small extended get buffer error.
Definition btrieveC.h:164
@ BTRIEVE_STATUS_CODE_MK_ROUTER_MEM_ERROR
3000 - MicroKernel router memory error.
Definition btrieveC.h:407
@ BTRIEVE_STATUS_CODE_LOGIN_ALREADY_LOGGED_IN
173 - Login already logged in.
Definition btrieveC.h:325
@ BTRIEVE_STATUS_CODE_INVALID_OPTION
2002 - Invalid option.
Definition btrieveC.h:385
@ BTRIEVE_STATUS_CODE_NO_RESOURCE_DLL
2011 - No resource DLL.
Definition btrieveC.h:403
@ BTRIEVE_STATUS_CODE_INCOMPLETE_INDEX
56 - Incomplete index.
Definition btrieveC.h:154
@ BTRIEVE_STATUS_CODE_INVALID_EXT_INSERT_BUFF
63 - Invalid extended insert buffer.
Definition btrieveC.h:168
@ BTRIEVE_STATUS_CODE_INVALID_EXTENSION_NAME
34 - Invalid extension name.
Definition btrieveC.h:110
@ BTRIEVE_STATUS_CODE_INVALID_INIT_PARM
1008 - Invalid initialization parameter.
Definition btrieveC.h:351
@ BTRIEVE_STATUS_CODE_INVALID_RECORD_LENGTH
28 - Invalid record length.
Definition btrieveC.h:98
@ BTRIEVE_STATUS_CODE_END_OF_FILE
9 - End of file.
Definition btrieveC.h:60
@ BTRIEVE_STATUS_CODE_CANNOT_CONVERT_RP
137 - Cannot convert RP.
Definition btrieveC.h:280
@ BTRIEVE_STATUS_CODE_LOGIN_WRONG_URI_FORMAT
175 - Login wrong uniform resource indicator format.
Definition btrieveC.h:329
@ BTRIEVE_STATUS_CODE_CLIENT_TABLE_FULL
162 - Client table full.
Definition btrieveC.h:315
@ BTRIEVE_STATUS_CODE_NL_FILE_NAME_RESOLUTION_ERROR
3126 - Network layer file name resolution error.
Definition btrieveC.h:515
@ BTRIEVE_STATUS_CODE_MK_DATABUF_LEN_TOO_LARGE
3022 - MicroKernel data buffer length too large.
Definition btrieveC.h:451
@ BTRIEVE_STATUS_CODE_DATA_MESSAGE_TOO_SMALL
97 - Data message too small.
Definition btrieveC.h:230
@ BTRIEVE_STATUS_CODE_ARCH_DUMPFILE_ACCESS_ERROR
115 - Archival dump file access error.
Definition btrieveC.h:264
@ BTRIEVE_STATUS_CODE_PAGE_SIZE_PARM_OUTOFRANGE
1004 - Page size parameter out of range.
Definition btrieveC.h:343
@ BTRIEVE_STATUS_CODE_CHUNK_OFFSET_TOO_LONG
103 - Chunk offset too long.
Definition btrieveC.h:242
@ BTRIEVE_STATUS_CODE_INCOMPLETE_ACCEL_ACCESS
42 - Incomplete accelerated access.
Definition btrieveC.h:126
@ BTRIEVE_STATUS_CODE_MK_INVALID_SESSION
3006 - MicroKernel invalid session.
Definition btrieveC.h:419
@ BTRIEVE_STATUS_CODE_AUTOINCREMENT_ERROR
55 - Autoincrement error.
Definition btrieveC.h:152
@ BTRIEVE_STATUS_CODE_CLOSE_ERROR
17 - Close error.
Definition btrieveC.h:76
@ BTRIEVE_STATUS_CODE_NL_CONNECTION_FAILURE
3106 - Network layer connection failure.
Definition btrieveC.h:475
@ BTRIEVE_STATUS_CODE_PREIMAGE_IO_ERROR
15 - Preimage input/output error.
Definition btrieveC.h:72
@ BTRIEVE_STATUS_CODE_MK_OS_ERROR
3005 - MicroKernel operating system error.
Definition btrieveC.h:417
@ BTRIEVE_STATUS_CODE_POINTER_PARM_INVALID
1015 - Pointer parameter invalid.
Definition btrieveC.h:365
@ BTRIEVE_STATUS_CODE_NL_PERMISSION_ERROR
3104 - Network layer permission error.
Definition btrieveC.h:471
@ BTRIEVE_STATUS_CODE_DUPLICATE_SYSTEM_KEY
146 - Duplicate system key.
Definition btrieveC.h:298
@ BTRIEVE_STATUS_CODE_MK_SEMAPHORE_ERROR
3019 - MicroKernel semaphore error.
Definition btrieveC.h:445
@ BTRIEVE_STATUS_CODE_ERROR_WRITING_CACHE
52 - Error writing cache.
Definition btrieveC.h:146
@ BTRIEVE_STATUS_CODE_END_CHANGED_TO_ABORT
74 - End changed to abort.
Definition btrieveC.h:188
@ BTRIEVE_STATUS_CODE_NOT_A_BTRIEVE_FILE
30 - Not a Btrieve file.
Definition btrieveC.h:102
@ BTRIEVE_STATUS_CODE_DISKFULL
18 - Disk full.
Definition btrieveC.h:78
@ BTRIEVE_STATUS_CODE_NO_CACHE_BUFFERS_AVAIL
100 - No cache buffers available.
Definition btrieveC.h:236
@ BTRIEVE_STATUS_CODE_LOGIN_LOGOUT_FAILED
174 - Login logout failed.
Definition btrieveC.h:327
@ BTRIEVE_STATUS_CODE_LOCATOR_FILE_INDICATOR
116 - Locator file indicator.
Definition btrieveC.h:266
@ BTRIEVE_STATUS_CODE_INTF_COMM_ERROR
1020 - Interface communications error.
Definition btrieveC.h:375
@ BTRIEVE_STATUS_CODE_PROGRAMMING_ERROR
79 - Programming error.
Definition btrieveC.h:196
@ BTRIEVE_STATUS_CODE_RECORD_MANAGER_INACTIVE
20 - Record manager inactive.
Definition btrieveC.h:82
@ BTRIEVE_STATUS_CODE_FILE_INUSE
85 - File in use.
Definition btrieveC.h:208
@ BTRIEVE_STATUS_CODE_NL_INVALID_SESSION_LEVEL_PARM
3123 - Network layer invalid session level parameter.
Definition btrieveC.h:509
@ BTRIEVE_STATUS_CODE_MK_INTERNAL_ERROR
3016 - MicroKernel internal error.
Definition btrieveC.h:439
@ BTRIEVE_STATUS_CODE_LOCALE_ERROR
104 - Locale error.
Definition btrieveC.h:244
@ BTRIEVE_STATUS_CODE_LOGIN_FAILED_BAD_USERNAME
170 - Login failed bad user name.
Definition btrieveC.h:319
@ BTRIEVE_STATUS_CODE_FILE_NOT_OPEN
3 - File not open.
Definition btrieveC.h:48
@ BTRIEVE_STATUS_CODE_MK_NO_RESOURCE_DLL
3002 - MicroKernel no resource DLL.
Definition btrieveC.h:411
@ BTRIEVE_STATUS_CODE_TRANSACTION_TABLE_FULL
92 - Transaction table full.
Definition btrieveC.h:220
@ BTRIEVE_STATUS_CODE_LOGIN_FAILED_BAD_DATABASE
172 - Login failed bad database.
Definition btrieveC.h:323
@ BTRIEVE_STATUS_CODE_RI_CASCADE_TOO_DEEP
68 - Referential integrity cascade too deep.
Definition btrieveC.h:178
@ BTRIEVE_STATUS_CODE_FILE_ALREADY_EXTENDED
31 - File already extended.
Definition btrieveC.h:104
@ BTRIEVE_STATUS_CODE_NL_CST_FULL
3117 - Network layer CST full.
Definition btrieveC.h:497
@ BTRIEVE_STATUS_CODE_DIFFERENT_INDEX_NUMBER
7 - Different index number.
Definition btrieveC.h:56
@ BTRIEVE_STATUS_CODE_LOGIN_DIRECTORY_NOT_IN_DATABASE
178 - Login directory not in database.
Definition btrieveC.h:335
@ BTRIEVE_STATUS_CODE_PREIMAGE_BUF_PARM_OUTOFRANGE
1006 - Preimage buffer parameter out of range.
Definition btrieveC.h:347
@ BTRIEVE_STATUS_CODE_MK_TIMEOUT_ERROR
3004 - MicroKernel timeout error.
Definition btrieveC.h:415
@ BTRIEVE_STATUS_CODE_NO_ERROR
0 - No error.
Definition btrieveC.h:42
@ BTRIEVE_STATUS_CODE_NL_INVALID_AUTH_OBJECT
3121 - Network layer invalid authentication object.
Definition btrieveC.h:505
@ BTRIEVE_STATUS_CODE_NL_TASK_TABLE_FULL
3124 - Network layer task table full.
Definition btrieveC.h:511
@ BTRIEVE_STATUS_CODE_READ_OUTSIDE_TRANSACTION
83 - Read outside transaction.
Definition btrieveC.h:204
@ BTRIEVE_STATUS_CODE_MK_LOADING_ERROR
3020 - MicroKernel loading error.
Definition btrieveC.h:447
@ BTRIEVE_STATUS_CODE_INCORRECT_SPX_VERSION
2005 - Incorrect SPX version.
Definition btrieveC.h:391
@ BTRIEVE_STATUS_CODE_INVALID_ALT_SEQUENCE_DEF
48 - Invalid alternate collating sequence definition.
Definition btrieveC.h:138
@ BTRIEVE_STATUS_CODE_SPX_NOT_INSTALLED
2004 - SPX not installed.
Definition btrieveC.h:389
@ BTRIEVE_STATUS_CODE_ACS_NOT_FOUND
136 - Alternate collating sequence not found.
Definition btrieveC.h:278
@ BTRIEVE_STATUS_CODE_ISR_INVALID
135 - International sorting rule invalid.
Definition btrieveC.h:276
@ BTRIEVE_STATUS_CODE_NO_OS_MEMORY_AVAIL
101 - No operating system memory available.
Definition btrieveC.h:238
@ BTRIEVE_STATUS_CODE_DIRECTORY_ERROR
35 - Directory error.
Definition btrieveC.h:112
@ BTRIEVE_STATUS_CODE_CANT_CONNECT_TO_615
2008 - Can't connect to 615.
Definition btrieveC.h:397
@ BTRIEVE_STATUS_CODE_NL_IDS_SEND_FAILURE
3127 - Network layer IDS send failure.
Definition btrieveC.h:517
@ BTRIEVE_STATUS_CODE_LOGIN_FILE_AND_TABLE_NOT_FOUND
176 - Login file and table not found.
Definition btrieveC.h:331
@ BTRIEVE_STATUS_CODE_FILE_FULL
132 - File full.
Definition btrieveC.h:270
@ BTRIEVE_STATUS_CODE_FILE_ALREADY_EXISTS
59 - File already exists.
Definition btrieveC.h:160
@ BTRIEVE_STATUS_CODE_TRANSACTION_TOO_COMPLEX
109 - Transaction too complex.
Definition btrieveC.h:252
@ BTRIEVE_STATUS_CODE_MORE_THAN_5_CONCURRENT_USERS
133 - More than 5 concurrent users.
Definition btrieveC.h:272
@ BTRIEVE_STATUS_CODE_MK_NWAPI_NOT_LOADED
3010 - MicroKernel NWAPI not loaded.
Definition btrieveC.h:427
@ BTRIEVE_STATUS_CODE_NL_NAME_NOT_FOUND
3103 - Network layer name not found.
Definition btrieveC.h:469
@ BTRIEVE_STATUS_CODE_MK_SERVER_NOT_FOUND
3007 - MicroKernel server not found.
Definition btrieveC.h:421
@ BTRIEVE_STATUS_CODE_FILENAME_BAD
11 - File name bad.
Definition btrieveC.h:64
@ BTRIEVE_STATUS_CODE_NL_NOT_CONNECTED
3110 - Network layer not connected.
Definition btrieveC.h:483
@ BTRIEVE_STATUS_CODE_MK_IDS_CONNECT_FAILURE
3027 - MicroKernel IDS connect failure.
Definition btrieveC.h:461
@ BTRIEVE_STATUS_CODE_TRANSACTION_FILE_IO_ERROR
38 - Transaction file input/output error.
Definition btrieveC.h:118
@ BTRIEVE_STATUS_CODE_ISR_NOT_FOUND
134 - International sorting rule not found.
Definition btrieveC.h:274
@ BTRIEVE_STATUS_CODE_INVALID_KEY_OPTION
139 - Invalid key option.
Definition btrieveC.h:284
@ BTRIEVE_STATUS_CODE_NL_MORE_DATA
3109 - Network layer more data.
Definition btrieveC.h:481
@ BTRIEVE_STATUS_CODE_MK_INCOMPAT_COMPONENT
3003 - MicroKernel incompatible component.
Definition btrieveC.h:413
@ BTRIEVE_STATUS_CODE_MK_INVALID_OP_ON_REMOTE
3024 - MicroKernel invalid operation on remote.
Definition btrieveC.h:455
@ BTRIEVE_STATUS_CODE_INVALID_INDEX_NUMBER
6 - Invalid index number.
Definition btrieveC.h:54
@ BTRIEVE_STATUS_CODE_CANT_LOAD_MKDE_ROUTER
2009 - Can't load MicroKernel router.
Definition btrieveC.h:399
@ BTRIEVE_STATUS_CODE_OPERATION_NOT_ALLOWED
41 - Operation not allowed.
Definition btrieveC.h:124
@ BTRIEVE_STATUS_CODE_INV_N_OPTION
1012 - Invalid "Maximum Number Of Files In A Transaction" option.
Definition btrieveC.h:359
@ BTRIEVE_STATUS_CODE_VARIABLE_PAGE_ERROR
54 - Variable page error.
Definition btrieveC.h:150
@ BTRIEVE_STATUS_CODE_INVALID_PTR_PARM
2007 - Invalid pointer parameter.
Definition btrieveC.h:395
@ BTRIEVE_STATUS_CODE_MK_THUNK_NOT_LOADED
3011 - MicroKernel thunk not loaded.
Definition btrieveC.h:429
@ BTRIEVE_STATUS_CODE_ERROR_ACC_TRANS_CONTROL_FILE
1010 - Error access transaction control file.
Definition btrieveC.h:355
@ BTRIEVE_STATUS_CODE_SERVER_ERROR
91 - Server error.
Definition btrieveC.h:218
@ BTRIEVE_STATUS_CODE_KEY_TYPE_ERROR
49 - Key type error.
Definition btrieveC.h:140
@ BTRIEVE_STATUS_CODE_CALLBACK_ABORT
1019 - Callback abort.
Definition btrieveC.h:373
@ BTRIEVE_STATUS_CODE_INCOMPATIBLE_CLOSE
140 - Incompatible close.
Definition btrieveC.h:286
@ BTRIEVE_STATUS_CODE_NL_INVALID_SESSION
3108 - Network layer invalid session.
Definition btrieveC.h:479
@ BTRIEVE_STATUS_CODE_DATALENGTH_ERROR
22 - Data length error.
Definition btrieveC.h:86
@ BTRIEVE_STATUS_CODE_CANNOT_CREATE_WITH_VAT
105 - Cannot create with variable tail allocation table.
Definition btrieveC.h:246
@ BTRIEVE_STATUS_CODE_NL_SEND_FAILURE
3111 - Network layer send failure.
Definition btrieveC.h:485
@ BTRIEVE_STATUS_CODE_MK_CANT_FIND_ENGINE
3014 - MicroKernel can't find engine.
Definition btrieveC.h:435
@ BTRIEVE_STATUS_CODE_MK_INVALID_CONFIG
3008 - MicroKernel invalid configuration.
Definition btrieveC.h:423
@ BTRIEVE_STATUS_CODE_ALREADY_INITIALIZED
1016 - Already initialized.
Definition btrieveC.h:367
@ BTRIEVE_STATUS_CODE_RI_VIOLATION
71 - Referential integrity violation.
Definition btrieveC.h:182
@ BTRIEVE_STATUS_CODE_INVALID_OWNER
51 - Invalid owner.
Definition btrieveC.h:144
@ BTRIEVE_STATUS_CODE_DEVICE_TABLE_FULL
90 - Device table full.
Definition btrieveC.h:216
@ BTRIEVE_STATUS_CODE_ARCH_FILE_IN_USE
112 - Archival file in use.
Definition btrieveC.h:258
@ BTRIEVE_STATUS_CODE_MK_IDS_LOGIN_FAILURE
3028 - MicroKernel IDS login failure.
Definition btrieveC.h:463
@ BTRIEVE_STATUS_CODE_DEAD_LOCK
78 - Dead lock.
Definition btrieveC.h:194
@ BTRIEVE_STATUS_CODE_EXTEND_IO_ERROR
32 - Extend input/output error.
Definition btrieveC.h:106
@ BTRIEVE_STATUS_CODE_NO_SSQL_RIGHTS
143 - No SSQL rights.
Definition btrieveC.h:292
@ BTRIEVE_STATUS_CODE_NL_AUTH_LEN_TOO_SMALL
3122 - Network layer authentication length too small.
Definition btrieveC.h:507
@ BTRIEVE_STATUS_CODE_NL_TRANSPORT_FAILURE
3115 - Network layer transport failure.
Definition btrieveC.h:493
@ BTRIEVE_STATUS_CODE_ARCH_LOGFILE_NOT_FOUND
113 - Archival log file not found.
Definition btrieveC.h:260
@ BTRIEVE_STATUS_CODE_NOHANDLES_AVAILABLE
87 - No handles available.
Definition btrieveC.h:212
@ BTRIEVE_STATUS_CODE_NL_NO_AUTH_CONTEXT_AVAILABLE
3119 - Network layer no authentication context available.
Definition btrieveC.h:501
@ BTRIEVE_STATUS_CODE_NO_LOCAL_ACCESS_ALLOWED
2003 - No local access allowed.
Definition btrieveC.h:387
@ BTRIEVE_STATUS_CODE_NL_RECEIVE_FAILURE
3112 - Network layer receive failure.
Definition btrieveC.h:487
@ BTRIEVE_STATUS_CODE_RI_CONFLICT
76 - Referential integrity conflict.
Definition btrieveC.h:190
@ BTRIEVE_STATUS_CODE_LOCK_PARM_OUTOFRANGE
1001 - Lock parameter out of range.
Definition btrieveC.h:337
@ BTRIEVE_STATUS_CODE_ARCH_LOGFILE_INVALID
114 - Archival log file invalid.
Definition btrieveC.h:262
@ BTRIEVE_STATUS_CODE_DBS_INTERNAL_ERROR
150 - DBS internal error.
Definition btrieveC.h:306
@ BTRIEVE_STATUS_CODE_INVALID_EXTRACTOR
65 - Invalid extractor.
Definition btrieveC.h:172
@ BTRIEVE_STATUS_CODE_SYSTEM_KEY_INTERNAL
149 - System key internal.
Definition btrieveC.h:304
@ BTRIEVE_STATUS_CODE_FAILED_TO_INITIALIZE
1021 - Failed to initialize.
Definition btrieveC.h:377
@ BTRIEVE_STATUS_CODE_MK_LOCAL_MKDE_DATABUF_TOO_SMALL
3017 - MicroKernel local MicroKernel data buffer too small.
Definition btrieveC.h:441
@ BTRIEVE_STATUS_CODE_ALREADY_INSIDE_BTR_FUNCTION
1018 - Already inside Btrieve function.
Definition btrieveC.h:371
@ BTRIEVE_STATUS_CODE_TRANSACTION_ERROR
36 - Transaction error.
Definition btrieveC.h:114
@ BTRIEVE_STATUS_CODE_UNRECOVERABLE_ERROR
19 - Unrecoverable error.
Definition btrieveC.h:80
@ BTRIEVE_STATUS_CODE_EXPANED_MEM_ERROR
57 - Expaned memory error.
Definition btrieveC.h:156
@ BTRIEVE_STATUS_CODE_INSUFFICIENT_MEM_ALLOC
2001 - Insufficient memory allocation.
Definition btrieveC.h:383
@ BTRIEVE_STATUS_CODE_KEY_VALUE_NOT_FOUND
4 - Key value not found.
Definition btrieveC.h:50
@ BTRIEVE_STATUS_CODE_CANT_LOOP_IN_SERVER
77 - Can't loop in server.
Definition btrieveC.h:192
@ BTRIEVE_STATUS_CODE_NL_OUT_OF_MEMORY
3107 - Network layer out of memory.
Definition btrieveC.h:477
@ BTRIEVE_STATUS_CODE_INVALID_INTERFACE
53 - Invalid interface.
Definition btrieveC.h:148
@ BTRIEVE_STATUS_CODE_MK_CLOSED_ERROR
3018 - MicroKernel closed error.
Definition btrieveC.h:443
@ BTRIEVE_STATUS_CODE_INCONSISTENT_KEY_FLAGS
45 - Inconsistent key flags.
Definition btrieveC.h:132
@ BTRIEVE_STATUS_CODE_RI_REFERENCED_FILE_CANNOT_OPEN
72 - Referential integrity referenced file cannot open.
Definition btrieveC.h:184
@ BTRIEVE_STATUS_CODE_BTR_CANNOT_UNLOAD
33 - Btrieve cannot unload.
Definition btrieveC.h:108
@ BTRIEVE_STATUS_CODE_LOGIN_FAILED_BAD_PASSWORD
171 - Login failed bad password.
Definition btrieveC.h:321
@ BTRIEVE_STATUS_CODE_PREIMAGE_OPEN_ERROR
14 - Preimage open error.
Definition btrieveC.h:70
@ BTRIEVE_STATUS_CODE_NL_NO_AVAILABLE_TRANSPORT
3105 - Network layer no available transport.
Definition btrieveC.h:473
@ BTRIEVE_STATUS_CODE_INVALID_TRANS_PARM
1009 - Invalid transaction parameter.
Definition btrieveC.h:353
@ BTRIEVE_STATUS_CODE_NL_NOT_INITIALIZED
3102 - Network layer not initialized.
Definition btrieveC.h:467
@ BTRIEVE_STATUS_CODE_PAGE_SIZE_ERROR
24 - Page size error.
Definition btrieveC.h:90
@ BTRIEVE_STATUS_CODE_INCOMPATIBLE_LOCK_TYPE
93 - Incompatible lock type.
Definition btrieveC.h:222
@ BTRIEVE_STATUS_CODE_LOST_POSITION
82 - Lost position.
Definition btrieveC.h:202
@ BTRIEVE_STATUS_CODE_TRANSACTION_MAX_FILES
40 - Transaction maximum files.
Definition btrieveC.h:122
@ BTRIEVE_STATUS_CODE_NL_INVALID_AUTH_TYPE
3120 - Network layer invalid authentication type.
Definition btrieveC.h:503
@ BTRIEVE_STATUS_CODE_DUPLICATE_KEY_VALUE
5 - Duplicate key value.
Definition btrieveC.h:52
@ BTRIEVE_STATUS_CODE_COMMUNICATIONS_ERROR
96 - Communications error.
Definition btrieveC.h:228
@ BTRIEVE_STATUS_CODE_REQUESTER_CANT_ACCESS_RUNTIME
99 - Requester can't access runtime.
Definition btrieveC.h:234
@ BTRIEVE_STATUS_CODE_END_TRANSACTION_ERROR
39 - End transaction error.
Definition btrieveC.h:120
@ BTRIEVE_STATUS_CODE_LOGIN_TABLE_NOT_IN_DATABASE
177 - Login table not in database.
Definition btrieveC.h:333
@ BTRIEVE_STATUS_CODE_CONFLICT
80 - Conflict.
Definition btrieveC.h:198
@ BTRIEVE_STATUS_CODE_RI_TOO_MANY_DATABASES
66 - Referential integrity too many databases.
Definition btrieveC.h:174
@ BTRIEVE_STATUS_CODE_SESSION_NO_LONGER_VALID
95 - Session no longer valid.
Definition btrieveC.h:226
@ BTRIEVE_STATUS_CODE_INVALID_NULL_INDICATOR
138 - Invalid null indicator.
Definition btrieveC.h:282
@ BTRIEVE_STATUS_CODE_NO_SYSTEM_LOCKS_AVAILABLE
130 - No system locks available.
Definition btrieveC.h:268
@ BTRIEVE_STATUS_CODE_ALREADY_LOGGED_IN
144 - Already logged in.
Definition btrieveC.h:294
@ BTRIEVE_STATUS_CODE_MEM_PARM_TOO_SMALL
1003 - Memory parameter too small.
Definition btrieveC.h:341
@ BTRIEVE_STATUS_CODE_MK_INIT_ERROR
3015 - MicroKernel initialization error.
Definition btrieveC.h:437
@ BTRIEVE_STATUS_CODE_RI_OUT_OF_SYNC
73 - Referential integrity out of sync.
Definition btrieveC.h:186
@ BTRIEVE_STATUS_CODE_FILE_TABLE_FULL
86 - File table full.
Definition btrieveC.h:210
@ BTRIEVE_STATUS_CODE_MK_LOCAL_NOT_LOADED
3012 - MicroKernel local not loaded.
Definition btrieveC.h:431
@ BTRIEVE_STATUS_CODE_EXPANSION_ERROR
16 - Expansion error.
Definition btrieveC.h:74
@ BTRIEVE_STATUS_CODE_TRANSACTION_IS_ACTIVE
37 - Transaction is active.
Definition btrieveC.h:116
@ BTRIEVE_STATUS_CODE_MODIFIABLE_KEYVALUE_ERROR
10 - Modifiable key value error.
Definition btrieveC.h:62
@ BTRIEVE_STATUS_CODE_NL_FAILURE
3101 - Network layer failure.
Definition btrieveC.h:465
@ BTRIEVE_STATUS_CODE_PERMISSION_ERROR
94 - Permission error.
Definition btrieveC.h:224
@ BTRIEVE_STATUS_CODE_INCOMPATIBLE_MODE_ERROR
88 - Incompatible mode error.
Definition btrieveC.h:214
@ BTRIEVE_STATUS_CODE_MK_BAD_PIDS
3026 - MicroKernel bad PIDs.
Definition btrieveC.h:459
@ BTRIEVE_STATUS_CODE_INVALID_FUNCTION
1 - Invalid function.
Definition btrieveC.h:44
@ BTRIEVE_STATUS_CODE_INTERNAL_TRANSACTION_ERROR
98 - Internal transaction error.
Definition btrieveC.h:232
@ BTRIEVE_STATUS_CODE_COMPRESSION_BUF_PARM_OUTOFRANGE
1011 - Compression buffer parameter out of range.
Definition btrieveC.h:357
@ BTRIEVE_STATUS_CODE_CHUNK_INCOMPATIBLE_FILE
107 - Chunk incompatible file.
Definition btrieveC.h:250
@ BTRIEVE_STATUS_CODE_MK_PNSL_NOT_LOADED
3013 - MicroKernel Network Services Layer not loaded.
Definition btrieveC.h:433
@ BTRIEVE_STATUS_CODE_INVALID_KEYLENGTH
29 - Invalid keylength.
Definition btrieveC.h:100
@ BTRIEVE_STATUS_CODE_EXTENDED_FILE_ERROR
13 - Extended file error.
Definition btrieveC.h:68
@ BTRIEVE_STATUS_CODE_ARCH_BLOG_OPEN_ERROR
110 - Archival BLOG open error.
Definition btrieveC.h:254
@ BTRIEVE_STATUS_CODE_LAST_SEGMENT_ERROR
163 - Last segment error.
Definition btrieveC.h:317
@ BTRIEVE_STATUS_CODE_MEM_ALLOCATION_ERR
1002 - Memory allocation error.
Definition btrieveC.h:339
@ BTRIEVE_STATUS_CODE_INVALID_USERNAME
141 - Invalid user name.
Definition btrieveC.h:288
@ BTRIEVE_STATUS_CODE_NO_DATABASE_SERVICES
145 - No database services.
Definition btrieveC.h:296
btrieve_status_code_t BtrieveClientStop(btrieve_client_t client)
Stop for a Btrieve client.
btrieve_status_code_t BtrieveVersionFree(btrieve_version_t version)
Free a Btrieve version.
struct btrieve_index_attributes * btrieve_index_attributes_t
A Btrieve index attributes.
Definition btrieveC.h:1324
btrieve_status_code_t BtrieveKeySegmentFree(btrieve_key_segment_t keySegment)
Free a Btrieve key segment.
struct btrieve_bulk_delete_result * btrieve_bulk_delete_result_t
A Btrieve bulk delete result.
Definition btrieveC.h:1289
btrieve_status_code_t BtrieveVersionGetLastStatusCode(btrieve_version_t version)
Get last status code from a Btrieve version.
int BtrieveFileInformationGetLockOwnerImplicitLock(btrieve_file_information_t fileInformation)
Get lock owner implicit lock from a Btrieve file information.
int BtrieveFileInformationGetReadOnly(btrieve_file_information_t fileInformation)
Get read only from a Btrieve file information.
long long BtrieveFileInformationGetReferentialIntegrityCursorPosition(btrieve_file_information_t fileInformation)
Get referential integrity cursor position from a Btrieve file information.
btrieve_status_code_t BtrieveBulkRetrieveResultAllocate(btrieve_bulk_retrieve_result_t *bulkRetrieveResultPtr)
Allocate a Btrieve bulk retrieve result.
const char * BtrieveIndexToString(btrieve_index_t index)
Return a Btrieve index as a string.
struct btrieve_bulk_create_payload * btrieve_bulk_create_payload_t
A Btrieve bulk create payload.
Definition btrieveC.h:1269
int BtrieveKeySegmentGetACSNumber(btrieve_key_segment_t keySegment)
Get ACS number from a Btrieve key segment.
int BtrieveFileInformationGetSecurityPermissionAlter(btrieve_file_information_t fileInformation)
Get security permission alter from a Btrieve file information.
btrieve_status_code_t BtrieveClientFileCreate(btrieve_client_t client, const btrieve_file_attributes_t fileAttributes, const btrieve_index_attributes_t indexAttributes, const char *fileName, btrieve_create_mode_t createMode, btrieve_location_mode_t locationMode)
File create for a Btrieve client.
btrieve_status_code_t BtrieveFileAttributesSetPreallocatedPageCount(btrieve_file_attributes_t fileAttributes, int preallocatedPageCount)
Set preallocated page count for a Btrieve file attributes.
btrieve_page_lock_type_t
The Btrieve page lock type.
Definition btrieveC.h:1201
@ BTRIEVE_PAGE_LOCK_TYPE_DATA_PAGE
Data page.
Definition btrieveC.h:1205
@ BTRIEVE_PAGE_LOCK_TYPE_VARIABLE_PAGE
Variable page.
Definition btrieveC.h:1209
@ BTRIEVE_PAGE_LOCK_TYPE_UNKNOWN
Unknown.
Definition btrieveC.h:1211
@ BTRIEVE_PAGE_LOCK_TYPE_NONE
None.
Definition btrieveC.h:1203
@ BTRIEVE_PAGE_LOCK_TYPE_INDEX_PAGE
Index page.
Definition btrieveC.h:1207
const char * BtrieveVariableLengthRecordsModeToString(btrieve_variable_length_records_mode_t variableLengthRecordsMode)
Return a Btrieve variable length records mode as a string.
btrieve_status_code_t BtrieveBulkDeleteAttributesFree(btrieve_bulk_delete_attributes_t bulkDeleteAttributes)
Free a Btrieve bulk delete attributes.
btrieve_connector_t
The Btrieve connectors.
Definition btrieveC.h:609
@ BTRIEVE_CONNECTOR_AND
And.
Definition btrieveC.h:613
@ BTRIEVE_CONNECTOR_LAST
Last.
Definition btrieveC.h:611
@ BTRIEVE_CONNECTOR_UNKNOWN
Unknown.
Definition btrieveC.h:617
@ BTRIEVE_CONNECTOR_OR
Or.
Definition btrieveC.h:615
btrieve_status_code_t BtrieveFileInformationGetSegmentFileName(btrieve_file_information_t fileInformation, int segmentFileNumber, char *name, int nameSize)
Get segment file name from a Btrieve file information
const char * BtrieveFreeSpaceThresholdToString(btrieve_free_space_threshold_t freeSpaceThreshold)
Return a Btrieve free space threshold as a string.
btrieve_page_size_t
The Btrieve page sizes.
Definition btrieveC.h:1216
@ BTRIEVE_PAGE_SIZE_DEFAULT
Default.
Definition btrieveC.h:1236
@ BTRIEVE_PAGE_SIZE_UNKNOWN
Unknown.
Definition btrieveC.h:1238
@ BTRIEVE_PAGE_SIZE_4096
Page size 4096.
Definition btrieveC.h:1230
@ BTRIEVE_PAGE_SIZE_1536
Page size 1536.
Definition btrieveC.h:1222
@ BTRIEVE_PAGE_SIZE_1024
Page size 1024.
Definition btrieveC.h:1220
@ BTRIEVE_PAGE_SIZE_2048
Page size 2048.
Definition btrieveC.h:1224
@ BTRIEVE_PAGE_SIZE_16384
Page size 16384.
Definition btrieveC.h:1234
@ BTRIEVE_PAGE_SIZE_512
Page size 512.
Definition btrieveC.h:1218
@ BTRIEVE_PAGE_SIZE_8192
Page size 8192.
Definition btrieveC.h:1232
@ BTRIEVE_PAGE_SIZE_3072
Page size 3072.
Definition btrieveC.h:1226
@ BTRIEVE_PAGE_SIZE_3584
Page size 3584.
Definition btrieveC.h:1228
int BtrieveFileInformationGetLockOwnerWriteNoWait(btrieve_file_information_t fileInformation)
Get lock owner write no wait from a Btrieve file information.
const char * BtrieveSystemFieldToString(btrieve_system_field_t systemField)
Return a Btrieve system field as a string.
btrieve_status_code_t BtrieveBulkRetrieveAttributesFree(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes)
Free a Btrieve bulk retrieve attributes.
btrieve_status_code_t BtrieveFilterSetComparisonConstant(btrieve_filter_t filter, const char *constant, int constantLength)
Set comparison constant for a Btrieve filter.
btrieve_status_code_t BtrieveFileBulkCreate(btrieve_file_t file, const btrieve_bulk_create_payload_t bulkCreatePayload, btrieve_bulk_create_result_t bulkCreateResult)
Bulk create for a Btrieve file.
int BtrieveKeySegmentGetNullAnySegment(btrieve_key_segment_t keySegment)
Get null any segment from a Btrieve key segment.
btrieve_status_code_t BtrieveBulkRetrieveAttributesAddFilter(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, btrieve_filter_t filter)
Add a filter to a Btrieve bulk retrieve attributes.
btrieve_status_code_t BtrieveBulkDeleteAttributesAddFilter(btrieve_bulk_delete_attributes_t bulkDeleteAttributes, btrieve_filter_t filter)
Add a filter to a Btrieve bulk delete attributes.
btrieve_status_code_t BtrieveFileInformationGetSecurityHandleUserName(btrieve_file_information_t fileInformation, char *name, int nameSize)
Get security handle user name from a Btrieve file information
btrieve_status_code_t BtrieveFileUnlockCursorPosition(btrieve_file_t file, long long cursorPosition)
Unlock cursor position for a Btrieve file.
int BtrieveFileInformationGetSegmented(btrieve_file_information_t fileInformation)
Get segmented from a Btrieve file information.
btrieve_status_code_t BtrieveClientLoginW(btrieve_client_t client, const wchar_t *databaseURI)
Login for a Btrieve client.
btrieve_record_compression_mode_t
The Btrieve record compression modes.
Definition btrieveC.h:556
@ BTRIEVE_RECORD_COMPRESSION_MODE_RUN_LENGTH_ENCODING
Run length encoding.
Definition btrieveC.h:562
@ BTRIEVE_RECORD_COMPRESSION_MODE_NONE
None.
Definition btrieveC.h:558
@ BTRIEVE_RECORD_COMPRESSION_MODE_BLANK_TRUNCATION
Blank truncation.
Definition btrieveC.h:560
@ BTRIEVE_RECORD_COMPRESSION_MODE_UNKNOWN
Unknown.
Definition btrieveC.h:564
int BtrieveClientGetServiceAgentIdentifier(btrieve_client_t client)
Get service agent identifier from a Btrieve client
btrieve_status_code_t BtrieveKeySegmentGetLastStatusCode(btrieve_key_segment_t keySegment)
Get last status code from a Btrieve key segment
long long BtrieveUnixEpochMicrosecondsToTimestamp(long long microseconds)
Convert a Unix Epoch based timestamp in microseconds to a Btrieve TIMESTAMP.
btrieve_location_mode_t
The Btrieve location modes.
Definition btrieveC.h:718
@ BTRIEVE_LOCATION_MODE_NO_PREFERENCE
No preference.
Definition btrieveC.h:720
@ BTRIEVE_LOCATION_MODE_FORCE_LOCAL
Force local.
Definition btrieveC.h:722
@ BTRIEVE_LOCATION_MODE_FORCE_REMOTE
Force remote.
Definition btrieveC.h:724
@ BTRIEVE_LOCATION_MODE_UNKNOWN
Unknown.
Definition btrieveC.h:726
btrieve_status_code_t BtrieveFileInformationGetLockOwnerName(btrieve_file_information_t fileInformation, char *name, int nameSize)
Get lock owner name from a Btrieve file information
int BtrieveFileInformationGetUsageCount(btrieve_file_information_t fileInformation)
Get usage count from a Btrieve file information.
btrieve_status_code_t BtrieveFileInformationGetKeySegment(btrieve_file_information_t fileInformation, btrieve_key_segment_t keySegment, int keySegmentNumber)
Get key segment from a Btrieve file information
btrieve_status_code_t BtrieveClientGetLastStatusCode(btrieve_client_t client)
Get last status code from a Btrieve client
int BtrieveFileInformationGetSecurityHandlePAM(btrieve_file_information_t fileInformation)
Get security handle PAM from a Btrieve file information.
btrieve_status_code_t BtrieveIndexAttributesSetDuplicateMode(btrieve_index_attributes_t indexAttributes, btrieve_duplicate_mode_t duplicateMode)
Set duplicate mode for a Btrieve index attributes.
int BtrieveFileInformationGetSecurityPermissionCreateRecord(btrieve_file_information_t fileInformation)
Get security permission create record from a Btrieve file information.
btrieve_status_code_t BtrieveFilterSetLikeCodePageName(btrieve_filter_t filter, const char *name)
Set like code page name for a Btrieve filter.
btrieve_status_code_t BtrieveFileRecordInsertChunk(btrieve_file_t file, int offset, const char *chunk, int chunkLength)
Record insert chunk for a Btrieve file.
btrieve_status_code_t BtrieveFileSetOwner(btrieve_file_t file, btrieve_owner_mode_t ownerMode, const char *ownerName, const char *ownerNameAgain, int useLongOwnerName)
Set owner for a Btrieve file.
int BtrieveFileInformationGetReferentialIntegrityConstraints(btrieve_file_information_t fileInformation)
Get referential integrity constraints from a Btrieve file information.
int BtrieveClientGetClientIdentifier(btrieve_client_t client)
Get client identifier from a Btrieve client
btrieve_status_code_t BtrieveClientLogout(btrieve_client_t client, const char *databaseURI)
Logout for a Btrieve client.
btrieve_status_code_t BtrieveFileRecordCreate(btrieve_file_t file, char *record, int recordLength)
Record create for a Btrieve file.
btrieve_status_code_t BtrieveBulkDeleteAttributesSetSkipCurrentRecord(btrieve_bulk_delete_attributes_t bulkDeleteAttributes, int skipCurrentRecord)
Set skip current record for a Btrieve bulk delete attributes.
btrieve_status_code_t BtrieveFileAttributesSetKeyOnly(btrieve_file_attributes_t fileAttributes, int enableKeyOnly)
Set key only for a Btrieve file attributes.
int BtrieveFileInformationGetGatewayPlatform(btrieve_file_information_t fileInformation)
Get gateway platform from a Btrieve file information.
int BtrieveFileInformationGetPagePreallocation(btrieve_file_information_t fileInformation)
Get page preallocation from a Btrieve file information.
int BtrieveFileInformationGetSecurityCurrentDatabaseBtpasswd(btrieve_file_information_t fileInformation)
Get security current database btpasswd from a Btrieve file information.
const char * BtrievePageLockTypeToString(btrieve_page_lock_type_t pageLockType)
Return a Btrieve page lock type as a string.
long long BtrieveTimestampToUnixEpochMicroseconds(long long timestamp)
Convert a Btrieve TIMESTAMP to a Unix Epoch timestamp in microseconds.
btrieve_status_code_t BtrieveFilterSetACSName(btrieve_filter_t filter, const char *name)
Set ACS name for a Btrieve filter.
int BtrieveVersionGetClientVersionNumber(btrieve_version_t version)
Get client version number from a Btrieve version.
int BtrieveVersionGetRemoteVersionNumber(btrieve_version_t version)
Get remote version number from a Btrieve version.
int BtrieveFileInformationGetSecurityHandleTrusted(btrieve_file_information_t fileInformation)
Get security handle trusted from a Btrieve file information.
int BtrieveFileInformationGetSecurityPermissionCreateStoredProcedure(btrieve_file_information_t fileInformation)
Get security permission create stored procedure from a Btrieve file information.
int BtrieveFileInformationGetIndexCount(btrieve_file_information_t fileInformation)
Get index count from a Btrieve file information.
btrieve_status_code_t BtrieveFileGetLastStatusCode(btrieve_file_t file)
Get last status code from a Btrieve file
const char * BtrieveSystemDataModeToString(btrieve_system_data_mode_t systemDataMode)
Return a Btrieve system data mode as a string.
btrieve_lock_mode_t
The Btrieve lock modes.
Definition btrieveC.h:733
@ BTRIEVE_LOCK_MODE_SINGLE_WAIT
Single with wait.
Definition btrieveC.h:737
@ BTRIEVE_LOCK_MODE_MULTIPLE_WAIT
Multiple with wait.
Definition btrieveC.h:741
@ BTRIEVE_LOCK_MODE_UNKNOWN
Unknown.
Definition btrieveC.h:745
@ BTRIEVE_LOCK_MODE_MULTIPLE_NO_WAIT
Multiple with no wait.
Definition btrieveC.h:743
@ BTRIEVE_LOCK_MODE_SINGLE_NO_WAIT
Single with no wait.
Definition btrieveC.h:739
@ BTRIEVE_LOCK_MODE_NONE
None.
Definition btrieveC.h:735
btrieve_page_lock_type_t BtrieveFileInformationGetLockOwnerPageLockType(btrieve_file_information_t fileInformation)
Get lock owner page lock type from a Btrieve file information.
btrieve_owner_mode_t
The Btrieve file owner modes.
Definition btrieveC.h:768
@ BTRIEVE_OWNER_MODE_ENCRYPTION_NO_READ_ALLOWED
Encryption with no read allowed.
Definition btrieveC.h:776
@ BTRIEVE_OWNER_MODE_NO_ENCRYPTION_READ_ALLOWED
No encryption with read allowed.
Definition btrieveC.h:774
@ BTRIEVE_OWNER_MODE_NONE
None.
Definition btrieveC.h:770
@ BTRIEVE_OWNER_MODE_NO_ENCRYPTION_NO_READ_ALLOWED
No encryption with no read allowed.
Definition btrieveC.h:772
@ BTRIEVE_OWNER_MODE_ENCRYPTION_READ_ALLOWED
Encryption with read allowed.
Definition btrieveC.h:778
@ BTRIEVE_OWNER_MODE_UNKNOWN
Unknown.
Definition btrieveC.h:780
int BtrieveKeySegmentGetOffset(btrieve_key_segment_t keySegment)
Get offset from a Btrieve key segment.
btrieve_status_code_t BtrieveClientFileCreateW(btrieve_client_t client, const btrieve_file_attributes_t fileAttributes, const btrieve_index_attributes_t indexAttributes, const wchar_t *fileName, btrieve_create_mode_t createMode, btrieve_location_mode_t locationMode)
File create for a Btrieve client.
btrieve_comparison_t
The Btrieve comparisons.
Definition btrieveC.h:583
@ BTRIEVE_COMPARISON_EQUAL
Equal.
Definition btrieveC.h:587
@ BTRIEVE_COMPARISON_GREATER_THAN
Greater than.
Definition btrieveC.h:589
@ BTRIEVE_COMPARISON_NONE
None.
Definition btrieveC.h:585
@ BTRIEVE_COMPARISON_LESS_THAN_OR_EQUAL
Less than or equal.
Definition btrieveC.h:597
@ BTRIEVE_COMPARISON_LESS_THAN
Less than.
Definition btrieveC.h:591
@ BTRIEVE_COMPARISON_JSON_QUERY_MATCH
JSON filter query match.
Definition btrieveC.h:603
@ BTRIEVE_COMPARISON_GREATER_THAN_OR_EQUAL
Greater than or equal.
Definition btrieveC.h:595
@ BTRIEVE_COMPARISON_LIKE
Like.
Definition btrieveC.h:599
@ BTRIEVE_COMPARISON_NOT_LIKE
Not like.
Definition btrieveC.h:601
@ BTRIEVE_COMPARISON_NOT_EQUAL
Not equal.
Definition btrieveC.h:593
@ BTRIEVE_COMPARISON_UNKNOWN
Unknown.
Definition btrieveC.h:605
int BtrieveFileInformationGetLockOwnerFileLock(btrieve_file_information_t fileInformation)
Get lock owner file lock from a Btrieve file information.
int BtrieveFileRecordRetrieveByCursorPosition(btrieve_file_t file, btrieve_index_t index, long long cursorPosition, char *key, int keySize, char *record, int recordSize, btrieve_lock_mode_t lockMode)
Record retrieve by cursor position for a Btrieve file.
btrieve_duplicate_mode_t
The Btrieve duplicate modes.
Definition btrieveC.h:569
@ BTRIEVE_DUPLICATE_MODE_NOT_ALLOWED
Duplicates not allowed.
Definition btrieveC.h:571
@ BTRIEVE_DUPLICATE_MODE_UNKNOWN
Unknown.
Definition btrieveC.h:577
@ BTRIEVE_DUPLICATE_MODE_ALLOWED_NONREPEATING
Duplicates allowed, nonrepeating.
Definition btrieveC.h:573
@ BTRIEVE_DUPLICATE_MODE_ALLOWED_REPEATING
Duplicates allowed, repeating.
Definition btrieveC.h:575
int BtrieveFileInformationGetPageCompression(btrieve_file_information_t fileInformation)
Get page compression from a Btrieve file information.
int BtrieveKeySegmentGetDescendingSortOrder(btrieve_key_segment_t keySegment)
Get descending sort order from a Btrieve key segment.
long long BtrieveFileGetCursorPosition(btrieve_file_t file)
Get cursor position from a Btrieve file
btrieve_status_code_t BtrieveClientFileRenameW(btrieve_client_t client, const wchar_t *existingFileName, const wchar_t *newFileName)
File rename for a Btrieve client.
btrieve_lock_mode_t BtrieveFileInformationGetLockOwnerExplicitLockMode(btrieve_file_information_t fileInformation)
Get lock owner explicit lock mode from a Btrieve file information.
int BtrieveFileRecordRetrieveLast(btrieve_file_t file, btrieve_index_t index, char *key, int keySize, char *record, int recordSize, btrieve_lock_mode_t lockMode)
Record retrieve last for a Btrieve file.
btrieve_status_code_t BtrieveIndexAttributesSetACSName(btrieve_index_attributes_t indexAttributes, const char *ACSName)
Set ACS name for a Btrieve index attributes.
int BtrieveBulkRetrieveResultGetRecordCount(btrieve_bulk_retrieve_result_t bulkRetrieveResult)
Get record count from a Btrieve bulk retrieve result
btrieve_status_code_t BtrieveBulkRetrieveAttributesAddField(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, int offset, int length)
Add a field to a Btrieve bulk retrieve attributes.
btrieve_status_code_t BtrieveFileBulkDeleteNext(btrieve_file_t file, const btrieve_bulk_delete_attributes_t bulkDeleteAttributes, btrieve_bulk_delete_result_t bulkDeleteResult)
Bulk delete next for a Btrieve file.
btrieve_status_code_t BtrieveFilterSetComparison(btrieve_filter_t filter, btrieve_comparison_t comparison)
Set comparison for a Btrieve filter.
btrieve_status_code_t BtrieveBulkRetrieveAttributesSetSkipCurrentRecord(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, int skipCurrentRecord)
Set skip current record for a Btrieve bulk retrieve attributes.
long long BtrieveFileGetRecordCreateTime(btrieve_file_t file)
Get record create time from a Btrieve file.
btrieve_status_code_t BtrieveClientFileDeleteW(btrieve_client_t client, const wchar_t *fileName)
File delete for a Btrieve client.
btrieve_status_code_t BtrieveClientFileOpenW(btrieve_client_t client, btrieve_file_t *btrieveFilePtr, const wchar_t *fileName, const char *ownerName, btrieve_open_mode_t openMode, btrieve_location_mode_t locationMode)
File open for a Btrieve client.
btrieve_status_code_t BtrieveIndexAttributesSetACSMode(btrieve_index_attributes_t indexAttributes, btrieve_acs_mode_t ACSMode)
Set ACS mode for a Btrieve index attributes.
btrieve_acs_mode_t
The Btrieve alternate collation sequence modes.
Definition btrieveC.h:539
@ BTRIEVE_ACS_MODE_DEFAULT
Default.
Definition btrieveC.h:549
@ BTRIEVE_ACS_MODE_NONE
None.
Definition btrieveC.h:541
@ BTRIEVE_ACS_MODE_CASE_INSENSITIVE
Case insensitive.
Definition btrieveC.h:547
@ BTRIEVE_ACS_MODE_UNKNOWN
Unknown.
Definition btrieveC.h:551
@ BTRIEVE_ACS_MODE_NAMED
Named.
Definition btrieveC.h:543
@ BTRIEVE_ACS_MODE_NUMBERED
Numbered.
Definition btrieveC.h:545
const char * BtrieveRecordCompressionModeToString(btrieve_record_compression_mode_t recordCompressionMode)
Return a Btrieve record compression mode as a string.
btrieve_status_code_t BtrieveBulkCreateResultAllocate(btrieve_bulk_create_result_t *btrieveBulkCreateResultPtr)
Allocate a Btrieve bulk create result.
btrieve_status_code_t BtrieveClientLogin(btrieve_client_t client, const char *databaseURI)
Login for a Btrieve client.
int BtrieveFileInformationGetLockOwnerRecordLock(btrieve_file_information_t fileInformation)
Get lock owner record lock from a Btrieve file information.
btrieve_status_code_t BtrieveFileGetInformation(btrieve_file_t file, btrieve_file_information_t fileInformation)
Get information from a Btrieve file
btrieve_status_code_t BtrieveClientReset(btrieve_client_t client)
Reset for a Btrieve client.
btrieve_status_code_t BtrieveFileInformationGetSecurityHandleDatabaseName(btrieve_file_information_t fileInformation, char *name, int nameSize)
Get security handle database name from a Btrieve file information
btrieve_null_key_mode_t
The Btrieve null key modes.
Definition btrieveC.h:1188
@ BTRIEVE_NULL_KEY_MODE_ANY_SEGMENTS
Any segments.
Definition btrieveC.h:1192
@ BTRIEVE_NULL_KEY_MODE_ALL_SEGMENTS
All segments.
Definition btrieveC.h:1190
@ BTRIEVE_NULL_KEY_MODE_NONE
None.
Definition btrieveC.h:1194
@ BTRIEVE_NULL_KEY_MODE_UNKNOWN
Unknown.
Definition btrieveC.h:1196
btrieve_status_code_t BtrieveFileAttributesSetRecordCompressionMode(btrieve_file_attributes_t fileAttributes, btrieve_record_compression_mode_t recordCompressionMode)
Set record compression mode for a Btrieve file attributes.
int BtrieveFileInformationGetSecurityPermissionNoRights(btrieve_file_information_t fileInformation)
Get security permission no rights from a Btrieve file information.
btrieve_status_code_t BtrieveBulkCreatePayloadAddRecord(btrieve_bulk_create_payload_t bulkCreatePayload, const char *record, int recordLength)
Add a record to a Btrieve bulk create payload.
int BtrieveFileInformationGetLockOwnerClientIdentifier(btrieve_file_information_t fileInformation)
Get lock owner client identifier from a Btrieve file information.
int BtrieveFileInformationGetSecurityCurrentDatabaseRTSSPreauthorized(btrieve_file_information_t fileInformation)
Get security current database RTSS preauthorized from a Btrieve file information.
btrieve_encrypt_type_t BtrieveFileInformationGetEncryptionType(btrieve_file_information_t fileInformation)
Get encryption type from a Btrieve file information.
int BtrieveFileInformationGetLockOwnerTimeInTransaction(btrieve_file_information_t fileInformation)
Get lock owner time in transaction from a Btrieve file information.
int BtrieveFileInformationGetSecurityCurrentDatabaseTrusted(btrieve_file_information_t fileInformation)
Get security current database trusted from a Btrieve file information.
btrieve_status_code_t BtrieveFilterAllocate(btrieve_filter_t *btrieveFilterPtr)
Allocate a Btrieve filter.
btrieve_data_type_t BtrieveKeySegmentGetDataType(btrieve_key_segment_t keySegment)
Get data type from a Btrieve key segment.
struct btrieve_bulk_retrieve_attributes * btrieve_bulk_retrieve_attributes_t
A Btrieve bulk retrieve attributes.
Definition btrieveC.h:1277
btrieve_status_code_t BtrieveBulkDeleteResultAllocate(btrieve_bulk_delete_result_t *bulkDeleteResultPtr)
Allocate a Btrieve bulk delete result.
long long BtrieveFileInformationGetRecordCount(btrieve_file_information_t fileInformation)
Get record count from a Btrieve file information.
int BtrieveVersionGetLocalVersionNumber(btrieve_version_t version)
Get local version number from a Btrieve version.
btrieve_status_code_t BtrieveKeySegmentSetNullKeyMode(btrieve_key_segment_t keySegment, btrieve_null_key_mode_t nullKeyMode)
Set null key mode for a Btrieve key segment.
btrieve_status_code_t BtrieveFileAttributesSetFixedRecordLength(btrieve_file_attributes_t fileAttributes, int fixedRecordLength)
Set fixed record length for a Btrieve file attributes.
int BtrieveBulkRetrieveResultGetRecord(btrieve_bulk_retrieve_result_t bulkRetrieveResult, int recordNumber, char *record, int recordSize)
Get record from a Btrieve bulk retrieve result
int BtrieveFileInformationGetSecurityHandleBtpasswd(btrieve_file_information_t fileInformation)
Get security handle btpasswd from a Btrieve file information.
btrieve_status_code_t BtrieveFileInformationGetGatewayName(btrieve_file_information_t fileInformation, char *name, int nameSize)
Get gateway name from a Btrieve file information
btrieve_status_code_t BtrieveBulkCreateResultFree(btrieve_bulk_create_result_t bulkCreateResult)
Free a Btrieve bulk create result.
btrieve_page_size_t BtrieveFileInformationGetPageSize(btrieve_file_information_t fileInformation)
Get page size from a Btrieve file information.
btrieve_status_code_t BtrieveFileBulkRetrievePrevious(btrieve_file_t file, const btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, btrieve_bulk_retrieve_result_t bulkRetrieveResult, btrieve_lock_mode_t lockMode)
Bulk retrieve previous for a Btrieve file.
int BtrieveFileGetPercentage(btrieve_file_t file, btrieve_index_t index, const char *key, int keyLength, long long cursorPosition)
Get percentage from a Btrieve file
btrieve_status_code_t BtrieveClientAllocate(btrieve_client_t *btrieveClientPtr, int serviceAgentIdentifier, int clientIdentifier)
Allocate a Btrieve client.
btrieve_status_code_t BtrieveBulkRetrieveResultGetLastStatusCode(btrieve_bulk_retrieve_result_t bulkRetrieveResult)
Get last status code from a Btrieve bulk retrieve result
struct btrieve_file_information * btrieve_file_information_t
A Btrieve file information.
Definition btrieveC.h:1313
int BtrieveFileInformationGetSecurityHandleExplicit(btrieve_file_information_t fileInformation)
Get security handle explicit from a Btrieve file information.
btrieve_status_code_t BtrieveKeySegmentSetField(btrieve_key_segment_t keySegment, int offset, int length, btrieve_data_type_t dataType)
Set field for a Btrieve key segment.
int BtrieveFileRecordRetrieveByFraction(btrieve_file_t file, btrieve_index_t index, int numerator, int denominator, char *key, int keySize, char *record, int recordSize, btrieve_lock_mode_t lockMode)
Record retrieve by fraction for a Btrieve file.
int BtrieveKeySegmentGetUseNumberedACS(btrieve_key_segment_t keySegment)
Get use numbered ACS from a Btrieve key segment.
int BtrieveFileInformationGetContinuousOperation(btrieve_file_information_t fileInformation)
Get continuous operation from a Btrieve file information.
btrieve_status_code_t BtrieveFileAttributesSetBalancedIndexes(btrieve_file_attributes_t fileAttributes, int enableBalancedIndexes)
Set balanced indexes for a Btrieve file attributes.
int BtrieveVersionGetRemoteRevisionNumber(btrieve_version_t version)
Get remote revision number from a Btrieve version.
btrieve_status_code_t BtrieveIndexAttributesSetIndex(btrieve_index_attributes_t indexAttributes, btrieve_index_t index)
Set index for a Btrieve IndexAttributes.
const char * BtrieveDataTypeToString(btrieve_data_type_t dataType)
Return a Btrieve data type as a string.
int BtrieveFileInformationGetGatewayPatchLevel(btrieve_file_information_t fileInformation)
Get gateway patch level from a Btrieve file information.
int BtrieveFileInformationGetSecurityPermissionUpdate(btrieve_file_information_t fileInformation)
Get security permission update from a Btrieve file information.
btrieve_file_version_t
The Btrieve file versions.
Definition btrieveC.h:1148
@ BTRIEVE_FILE_VERSION_9_0
File version 9.0.
Definition btrieveC.h:1158
@ BTRIEVE_FILE_VERSION_9_5
File version 9.5.
Definition btrieveC.h:1160
@ BTRIEVE_FILE_VERSION_13_0
File version 13.0.
Definition btrieveC.h:1162
@ BTRIEVE_FILE_VERSION_7_0
File version 7.0.
Definition btrieveC.h:1154
@ BTRIEVE_FILE_VERSION_6_1
File version 6.1.
Definition btrieveC.h:1152
@ BTRIEVE_FILE_VERSION_8_0
File version 8.0.
Definition btrieveC.h:1156
@ BTRIEVE_FILE_VERSION_6_0
File version 6.0.
Definition btrieveC.h:1150
@ BTRIEVE_FILE_VERSION_UNKNOWN
Unknown.
Definition btrieveC.h:1168
@ BTRIEVE_FILE_VERSION_16_0
File version 16.0.
Definition btrieveC.h:1164
@ BTRIEVE_FILE_VERSION_DEFAULT
Default.
Definition btrieveC.h:1166
btrieve_status_code_t BtrieveFileInformationFree(btrieve_file_information_t fileInformation)
Free a Btrieve file information.
btrieve_status_code_t BtrieveFileKeyRetrieveLast(btrieve_file_t file, btrieve_index_t index, char *key, int keySize)
Key retrieve last for a Btrieve file.
struct btrieve_key_segment * btrieve_key_segment_t
A Btrieve key segment.
Definition btrieveC.h:1331
const char * BtrieveACSModeToString(btrieve_acs_mode_t ACSMode)
Return a Btrieve ACS mode as a string.
int BtrieveFileInformationGetSecurityCurrentDatabaseRTSSComplete(btrieve_file_information_t fileInformation)
Get security current database RTSS complete from a Btrieve file information.
btrieve_status_code_t BtrieveIndexAttributesFree(btrieve_index_attributes_t indexAttributes)
Free a Btrieve index attributes.
struct btrieve_client * btrieve_client_t
A Btrieve client.
Definition btrieveC.h:1296
int BtrieveFileInformationGetSystemData(btrieve_file_information_t fileInformation)
Get system data from a Btrieve file information.
btrieve_status_code_t BtrieveFileInformationGetLastStatusCode(btrieve_file_information_t fileInformation)
Get last status code from a Btrieve file information
int BtrieveFileGetNumerator(btrieve_file_t file, btrieve_index_t index, const char *key, int keyLength, long long cursorPosition, int denominator)
Get numerator from a Btrieve file
const char * BtrieveDuplicateModeToString(btrieve_duplicate_mode_t duplicateMode)
Return a Btrieve duplicate mode as a string.
int BtrieveKeySegmentGetNullAllSegments(btrieve_key_segment_t keySegment)
Get null all segments from a Btrieve key segment.
btrieve_status_code_t BtrieveFileRecordUnlock(btrieve_file_t file, btrieve_unlock_mode_t unlockMode)
Record unlock for a Btrieve file.
const char * BtrieveNullKeyModeToString(btrieve_null_key_mode_t nullKeyMode)
Return a Btrieve null key mode as a string.
int BtrieveFileInformationGetGatewayMinorVersion(btrieve_file_information_t fileInformation)
Get gateway minor version from a Btrieve file information.
int BtrieveFileInformationGetGatewayMajorVersion(btrieve_file_information_t fileInformation)
Get gateway major version from a Btrieve file information.
int BtrieveKeySegmentGetNullValue(btrieve_key_segment_t keySegment)
Get null value from a Btrieve key segment.
btrieve_status_code_t BtrieveFileKeyRetrievePrevious(btrieve_file_t file, char *key, int keySize)
Key retrieve previous for a Btrieve file.
btrieve_system_data_mode_t BtrieveFileInformationGetSystemDataMode(btrieve_file_information_t fileInformation)
Get system data mode from a Btrieve file information
btrieve_status_code_t BtrieveClientGetCurrentDirectoryW(btrieve_client_t client, btrieve_disk_drive_t diskDrive, wchar_t *currentDirectory, int currentDirectorySize)
Get current directory from a Btrieve client
int BtrieveFileInformationGetSecurityPermissionCreateView(btrieve_file_information_t fileInformation)
Get security permission create view from a Btrieve file information.
btrieve_status_code_t BtrieveFileIndexCreate(btrieve_file_t file, const btrieve_index_attributes_t indexAttributes)
Index create for a Btrieve file.
btrieve_status_code_t BtrieveFileBulkDeletePrevious(btrieve_file_t file, const btrieve_bulk_delete_attributes_t bulkDeleteAttributes, btrieve_bulk_delete_result_t bulkDeleteResult)
Bulk delete previous for a Btrieve file.
int BtrieveFileInformationGetSecurityHandleRTSSComplete(btrieve_file_information_t fileInformation)
Get security handle RTSS complete from a Btrieve file information.
struct btrieve_version * btrieve_version_t
A Btrieve version.
Definition btrieveC.h:1335
int BtrieveFileInformationGetSecurityCurrentDatabaseRTSSDisabled(btrieve_file_information_t fileInformation)
Get security current database RTSS disabled from a Btrieve file information.