btrieveC.h
Go to the documentation of this file.
1 //
3 // Copyright (C) 2016 - Actian Corp.
4 //
6 
7 #ifndef _BTRIEVEC_H
8 #define _BTRIEVEC_H
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 #ifndef LINKAGE
15  #ifdef __GNUC__
16  #define LINKAGE
17  #else
18  #define LINKAGE __declspec(dllimport)
19  #endif
20 #endif
21 
22 #define BTRIEVE_MAXIMUM_RECORD_LENGTH (60 * 1024)
23 
24 #define BTRIEVE_MAXIMUM_KEY_LENGTH 255
25 
26 typedef enum {
268 
275 
276 typedef enum {
280 
281 typedef enum {
285 
286 typedef enum {
290 
291 typedef enum {
298 
299 typedef enum {
303 
304 typedef enum {
316 
317 typedef enum {
324 
325 typedef enum {
328 
329 typedef enum {
333 
334 typedef enum {
338 
339 typedef enum {
344 
345 typedef enum {
350 
351 typedef enum {
355 
356 typedef enum {
359 
360 typedef enum {
403 
404 typedef enum {
419 
420 typedef enum {
424  BTRIEVE_FILE_VERSION_DEFAULT, /* preserve enum value for DEFAULT */
428 
429 typedef enum {
434 
435 typedef enum {
439 
440 typedef enum {
445 
446 typedef enum {
454 
455 typedef enum {
459 
460 typedef struct btrieve_bulk_create_payload *btrieve_bulk_create_payload_t;
461 typedef struct btrieve_bulk_create_result *btrieve_bulk_create_result_t;
462 
463 typedef struct btrieve_bulk_retrieve_attributes *btrieve_bulk_retrieve_attributes_t;
464 
465 typedef struct btrieve_bulk_retrieve_result *btrieve_bulk_retrieve_result_t;
466 
467 typedef struct btrieve_chunk_attributes *btrieve_chunk_attributes_t;
468 typedef struct btrieve_client *btrieve_client_t;
469 typedef struct btrieve_file *btrieve_file_t;
470 typedef struct btrieve_file_attributes *btrieve_file_attributes_t;
471 typedef struct btrieve_file_information *btrieve_file_information_t;
472 typedef struct btrieve_filter *btrieve_filter_t;
473 typedef struct btrieve_index_attributes *btrieve_index_attributes_t;
474 typedef struct btrieve_key_segment *btrieve_key_segment_t;
475 typedef struct btrieve_version *btrieve_version_t;
476 
477 extern LINKAGE btrieve_acs_mode_t BtrieveKeySegmentGetACSMode(btrieve_key_segment_t keySegment);
478 extern LINKAGE btrieve_data_type_t BtrieveKeySegmentGetDataType(btrieve_key_segment_t keySegment);
479 extern LINKAGE btrieve_duplicate_mode_t BtrieveKeySegmentGetDuplicateMode(btrieve_key_segment_t keySegment);
480 extern LINKAGE btrieve_file_version_t BtrieveFileInformationGetFileVersion(btrieve_file_information_t fileInformation);
481 extern LINKAGE btrieve_free_space_threshold_t BtrieveFileInformationGetFreeSpaceThreshold(btrieve_file_information_t fileInformation);
482 extern LINKAGE btrieve_index_t BtrieveFileInformationGetDuplicateRecordConflictIndex(btrieve_file_information_t fileInformation);
483 extern LINKAGE btrieve_index_t BtrieveFileInformationGetLockOwnerIndex(btrieve_file_information_t fileInformation);
484 extern LINKAGE btrieve_index_t BtrieveFileInformationGetLogIndex(btrieve_file_information_t fileInformation);
485 extern LINKAGE btrieve_index_t BtrieveKeySegmentGetIndex(btrieve_key_segment_t keySegment);
486 extern LINKAGE btrieve_lock_mode_t BtrieveFileInformationGetLockOwnerExplicitLockMode(btrieve_file_information_t fileInformation);
487 extern LINKAGE btrieve_null_key_mode_t BtrieveKeySegmentGetNullKeyMode(btrieve_key_segment_t keySegment);
488 extern LINKAGE btrieve_owner_mode_t BtrieveFileInformationGetOwnerMode(btrieve_file_information_t fileInformation);
489 extern LINKAGE btrieve_page_lock_type_t BtrieveFileInformationGetLockOwnerPageLockType(btrieve_file_information_t fileInformation);
490 extern LINKAGE btrieve_page_size_t BtrieveFileInformationGetPageSize(btrieve_file_information_t fileInformation);
491 extern LINKAGE btrieve_record_compression_mode_t BtrieveFileInformationGetRecordCompressionMode(btrieve_file_information_t fileInformation);
492 extern LINKAGE btrieve_status_code_t BtrieveBulkCreatePayloadAddRecord(btrieve_bulk_create_payload_t bulkCreatePayload, const char *record, int recordLength);
493 extern LINKAGE btrieve_status_code_t BtrieveBulkCreatePayloadAllocate(btrieve_bulk_create_payload_t *btrieveBulkCreatePayloadPtr);
494 extern LINKAGE btrieve_status_code_t BtrieveBulkCreatePayloadFree(btrieve_bulk_create_payload_t bulkCreatePayload);
495 extern LINKAGE btrieve_status_code_t BtrieveBulkCreateResultAllocate(btrieve_bulk_create_result_t *btrieveBulkCreateResultPtr);
496 extern LINKAGE btrieve_status_code_t BtrieveBulkCreateResultFree(btrieve_bulk_create_result_t bulkCreateResult);
497 extern LINKAGE btrieve_status_code_t BtrieveBulkCreateResultGetLastStatusCode(btrieve_bulk_create_result_t bulkCreateResult);
498 extern LINKAGE btrieve_status_code_t BtrieveBulkRetrieveAttributesAddField(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, int offset, int length);
499 extern LINKAGE btrieve_status_code_t BtrieveBulkRetrieveAttributesAddFilter(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, btrieve_filter_t filter);
500 extern LINKAGE btrieve_status_code_t BtrieveBulkRetrieveAttributesAllocate(btrieve_bulk_retrieve_attributes_t *bulkRetrieveAttributesPtr);
501 extern LINKAGE btrieve_status_code_t BtrieveBulkRetrieveAttributesFree(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes);
502 extern LINKAGE btrieve_status_code_t BtrieveBulkRetrieveAttributesSetMaximumRecordCount(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, int maximumRecordCount);
503 extern LINKAGE btrieve_status_code_t BtrieveBulkRetrieveAttributesSetMaximumRejectCount(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, int maximumRejectCount);
504 extern LINKAGE btrieve_status_code_t BtrieveBulkRetrieveAttributesSetSkipCurrentRecord(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, int skipCurrentRecord);
505 extern LINKAGE btrieve_status_code_t BtrieveBulkRetrieveResultAllocate(btrieve_bulk_retrieve_result_t *bulkRetrieveResultPtr);
506 extern LINKAGE btrieve_status_code_t BtrieveBulkRetrieveResultFree(btrieve_bulk_retrieve_result_t bulkRetrieveResult);
507 extern LINKAGE btrieve_status_code_t BtrieveBulkRetrieveResultGetLastStatusCode(btrieve_bulk_retrieve_result_t bulkRetrieveResult);
508 extern LINKAGE btrieve_status_code_t BtrieveClientAllocate(btrieve_client_t *btrieveClientPtr, int serviceAgentIdentifier, int clientIdentifier);
509 extern LINKAGE btrieve_status_code_t BtrieveClientContinuousOperationBegin(btrieve_client_t client, const char *pathNames);
510 extern LINKAGE btrieve_status_code_t BtrieveClientContinuousOperationBeginW(btrieve_client_t client, const wchar_t *pathNames);
511 extern LINKAGE btrieve_status_code_t BtrieveClientContinuousOperationEnd(btrieve_client_t client, const char *pathNames);
512 extern LINKAGE btrieve_status_code_t BtrieveClientContinuousOperationEndW(btrieve_client_t client, const wchar_t *pathNames);
513 extern LINKAGE btrieve_status_code_t BtrieveClientFileClose(btrieve_client_t client, btrieve_file_t file);
514 extern LINKAGE 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);
515 extern LINKAGE 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);
516 extern LINKAGE btrieve_status_code_t BtrieveClientFileDelete(btrieve_client_t client, const char *fileName);
517 extern LINKAGE btrieve_status_code_t BtrieveClientFileDeleteW(btrieve_client_t client, const wchar_t *fileName);
518 extern LINKAGE 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);
519 extern LINKAGE 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);
520 extern LINKAGE btrieve_status_code_t BtrieveClientFileRename(btrieve_client_t client, const char *existingFileName, const char *newFileName);
521 extern LINKAGE btrieve_status_code_t BtrieveClientFileRenameW(btrieve_client_t client, const wchar_t *existingFileName, const wchar_t *newFileName);
522 extern LINKAGE btrieve_status_code_t BtrieveClientFree(btrieve_client_t client);
523 extern LINKAGE btrieve_status_code_t BtrieveClientGetCurrentDirectory(btrieve_client_t client, btrieve_disk_drive_t diskDrive, char *currentDirectory, int currentDirectorySize);
524 extern LINKAGE btrieve_status_code_t BtrieveClientGetCurrentDirectoryW(btrieve_client_t client, btrieve_disk_drive_t diskDrive, wchar_t *currentDirectoryW, int currentDirectorySize);
525 extern LINKAGE btrieve_status_code_t BtrieveClientGetLastStatusCode(btrieve_client_t client);
526 extern LINKAGE btrieve_status_code_t BtrieveClientGetVersion(btrieve_client_t client, btrieve_version_t version, btrieve_file_t file);
527 extern LINKAGE btrieve_status_code_t BtrieveClientLogin(btrieve_client_t client, const char *databaseURI);
528 extern LINKAGE btrieve_status_code_t BtrieveClientLoginW(btrieve_client_t client, const wchar_t *databaseURI);
529 extern LINKAGE btrieve_status_code_t BtrieveClientLogout(btrieve_client_t client, const char *databaseURI);
530 extern LINKAGE btrieve_status_code_t BtrieveClientLogoutW(btrieve_client_t client, const wchar_t *databaseURI);
531 extern LINKAGE btrieve_status_code_t BtrieveClientReset(btrieve_client_t client);
532 extern LINKAGE btrieve_status_code_t BtrieveClientSetCurrentDirectory(btrieve_client_t client, const char *currentDirectory);
533 extern LINKAGE btrieve_status_code_t BtrieveClientSetCurrentDirectoryW(btrieve_client_t client, const wchar_t *currentDirectory);
534 extern LINKAGE btrieve_status_code_t BtrieveClientStop(btrieve_client_t client);
535 extern LINKAGE btrieve_status_code_t BtrieveClientTransactionAbort(btrieve_client_t client);
536 extern LINKAGE btrieve_status_code_t BtrieveClientTransactionBegin(btrieve_client_t client, btrieve_transaction_mode_t transactionMode, btrieve_lock_mode_t lockMode);
537 extern LINKAGE btrieve_status_code_t BtrieveClientTransactionEnd(btrieve_client_t client);
538 extern LINKAGE btrieve_status_code_t BtrieveFileAttributesAllocate(btrieve_file_attributes_t *btrieveFileAttributesPtr);
539 extern LINKAGE btrieve_status_code_t BtrieveFileAttributesFree(btrieve_file_attributes_t fileAttributes);
540 extern LINKAGE btrieve_status_code_t BtrieveFileAttributesSetBalancedIndexes(btrieve_file_attributes_t fileAttributes, int enableBalancedIndexes);
541 extern LINKAGE btrieve_status_code_t BtrieveFileAttributesSetFileVersion(btrieve_file_attributes_t fileAttributes, btrieve_file_version_t fileVersion);
542 extern LINKAGE btrieve_status_code_t BtrieveFileAttributesSetFixedRecordLength(btrieve_file_attributes_t fileAttributes, int fixedRecordLength);
543 extern LINKAGE btrieve_status_code_t BtrieveFileAttributesSetFreeSpaceThreshold(btrieve_file_attributes_t fileAttributes, btrieve_free_space_threshold_t freeSpaceThreshold);
544 extern LINKAGE btrieve_status_code_t BtrieveFileAttributesSetKeyOnly(btrieve_file_attributes_t fileAttributes, int enableKeyOnly);
545 extern LINKAGE btrieve_status_code_t BtrieveFileAttributesSetPageSize(btrieve_file_attributes_t fileAttributes, btrieve_page_size_t pageSize, int enablePageCompression);
546 extern LINKAGE btrieve_status_code_t BtrieveFileAttributesSetPreallocatedPageCount(btrieve_file_attributes_t fileAttributes, int preallocatedPageCount);
547 extern LINKAGE btrieve_status_code_t BtrieveFileAttributesSetRecordCompressionMode(btrieve_file_attributes_t fileAttributes, btrieve_record_compression_mode_t recordCompressionMode);
548 extern LINKAGE btrieve_status_code_t BtrieveFileAttributesSetReservedDuplicatePointerCount(btrieve_file_attributes_t fileAttributes, int reservedDuplicatePointerCount);
549 extern LINKAGE btrieve_status_code_t BtrieveFileAttributesSetSystemDataMode(btrieve_file_attributes_t fileAttributes, btrieve_system_data_mode_t systemDataMode);
550 extern LINKAGE btrieve_status_code_t BtrieveFileAttributesSetVariableLengthRecordsMode(btrieve_file_attributes_t fileAttributes, btrieve_variable_length_records_mode_t variableLengthRecordsMode);
551 extern LINKAGE btrieve_status_code_t BtrieveFileBulkCreate(btrieve_file_t file, const btrieve_bulk_create_payload_t bulkCreatePayload, btrieve_bulk_create_result_t bulkCreateResult);
552 extern LINKAGE 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);
553 extern LINKAGE 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);
554 extern LINKAGE btrieve_status_code_t BtrieveFileGetInformation(btrieve_file_t file, btrieve_file_information_t fileInformation);
556 extern LINKAGE btrieve_status_code_t BtrieveFileIndexCreate(btrieve_file_t file, const btrieve_index_attributes_t indexAttributes);
557 extern LINKAGE btrieve_status_code_t BtrieveFileIndexDrop(btrieve_file_t file, btrieve_index_t index);
558 extern LINKAGE btrieve_status_code_t BtrieveFileInformationAllocate(btrieve_file_information_t *btrieveFileInformationPtr);
559 extern LINKAGE btrieve_status_code_t BtrieveFileInformationFree(btrieve_file_information_t fileInformation);
560 extern LINKAGE btrieve_status_code_t BtrieveFileInformationGetGatewayName(btrieve_file_information_t fileInformation, char *name, int nameSize);
561 extern LINKAGE btrieve_status_code_t BtrieveFileInformationGetKeySegment(btrieve_file_information_t fileInformation, btrieve_key_segment_t keySegment, int keySegmentNumber);
562 extern LINKAGE btrieve_status_code_t BtrieveFileInformationGetLastStatusCode(btrieve_file_information_t fileInformation);
563 extern LINKAGE btrieve_status_code_t BtrieveFileInformationGetLockOwnerName(btrieve_file_information_t fileInformation, char *name, int nameSize);
564 extern LINKAGE btrieve_status_code_t BtrieveFileInformationGetReferentialIntegrityFileName(btrieve_file_information_t fileInformation, char *name, int nameSize);
565 extern LINKAGE btrieve_status_code_t BtrieveFileInformationGetSecurityCurrentDatabaseName(btrieve_file_information_t fileInformation, char *name, int nameSize);
566 extern LINKAGE btrieve_status_code_t BtrieveFileInformationGetSecurityCurrentUserName(btrieve_file_information_t fileInformation, char *name, int nameSize);
567 extern LINKAGE btrieve_status_code_t BtrieveFileInformationGetSecurityHandleDatabaseName(btrieve_file_information_t fileInformation, char *name, int nameSize);
568 extern LINKAGE btrieve_status_code_t BtrieveFileInformationGetSecurityHandleTableName(btrieve_file_information_t fileInformation, char *name, int nameSize);
569 extern LINKAGE btrieve_status_code_t BtrieveFileInformationGetSecurityHandleUserName(btrieve_file_information_t fileInformation, char *name, int nameSize);
570 extern LINKAGE btrieve_status_code_t BtrieveFileInformationGetSegmentFileName(btrieve_file_information_t fileInformation, int segmentFileNumber, char *name, int nameSize);
571 extern LINKAGE btrieve_status_code_t BtrieveFileKeyRetrieve(btrieve_file_t file, btrieve_comparison_t comparison, btrieve_index_t index, const char *key, int keyLength);
572 extern LINKAGE btrieve_status_code_t BtrieveFileKeyRetrieveFirst(btrieve_file_t file, btrieve_index_t index, char *key, int keySize);
573 extern LINKAGE btrieve_status_code_t BtrieveFileKeyRetrieveLast(btrieve_file_t file, btrieve_index_t index, char *key, int keySize);
574 extern LINKAGE btrieve_status_code_t BtrieveFileKeyRetrieveNext(btrieve_file_t file, char *key, int keySize);
575 extern LINKAGE btrieve_status_code_t BtrieveFileKeyRetrievePrevious(btrieve_file_t file, char *key, int keySize);
576 extern LINKAGE btrieve_status_code_t BtrieveFileRecordAppendChunk(btrieve_file_t file, const char *chunk, int chunkLength);
577 extern LINKAGE btrieve_status_code_t BtrieveFileRecordCreate(btrieve_file_t file, char *record, int recordLength);
578 extern LINKAGE btrieve_status_code_t BtrieveFileRecordDelete(btrieve_file_t file);
579 extern LINKAGE btrieve_status_code_t BtrieveFileRecordTruncate(btrieve_file_t file, int offset);
580 extern LINKAGE btrieve_status_code_t BtrieveFileRecordUnlock(btrieve_file_t file, btrieve_unlock_mode_t unlockMode);
581 extern LINKAGE btrieve_status_code_t BtrieveFileRecordUpdate(btrieve_file_t file, const char *record, int recordLength);
582 extern LINKAGE btrieve_status_code_t BtrieveFileRecordUpdateChunk(btrieve_file_t file, int offset, const char *chunk, int chunkLength);
583 extern LINKAGE btrieve_status_code_t BtrieveFileSetOwner(btrieve_file_t file, btrieve_owner_mode_t ownerMode, const char *ownerName, const char *ownerNameAgain, int useLongOwnerName);
584 extern LINKAGE btrieve_status_code_t BtrieveFileUnlockCursorPosition(btrieve_file_t file, long long cursorPosition);
585 extern LINKAGE btrieve_status_code_t BtrieveFilterAllocate(btrieve_filter_t *btrieveFilterPtr);
586 extern LINKAGE btrieve_status_code_t BtrieveFilterFree(btrieve_filter_t filter);
587 extern LINKAGE btrieve_status_code_t BtrieveFilterSetACSMode(btrieve_filter_t filter, btrieve_acs_mode_t ACSMode);
588 extern LINKAGE btrieve_status_code_t BtrieveFilterSetACSName(btrieve_filter_t filter, const char *name);
589 extern LINKAGE btrieve_status_code_t BtrieveFilterSetACSUserDefined(btrieve_filter_t filter, const char *name);
590 extern LINKAGE btrieve_status_code_t BtrieveFilterSetComparison(btrieve_filter_t filter, btrieve_comparison_t comparison);
591 extern LINKAGE btrieve_status_code_t BtrieveFilterSetComparisonConstant(btrieve_filter_t filter, const char *constant, int constantLength);
592 extern LINKAGE btrieve_status_code_t BtrieveFilterSetComparisonField(btrieve_filter_t filter, int offset);
593 extern LINKAGE btrieve_status_code_t BtrieveFilterSetConnector(btrieve_filter_t filter, btrieve_connector_t connector);
594 extern LINKAGE btrieve_status_code_t BtrieveFilterSetField(btrieve_filter_t filter, int offset, int length, btrieve_data_type_t dataType);
595 extern LINKAGE btrieve_status_code_t BtrieveFilterSetLikeCodePageName(btrieve_filter_t filter, const char *name);
596 extern LINKAGE btrieve_status_code_t BtrieveIndexAttributesAddKeySegment(btrieve_index_attributes_t indexAttributes, btrieve_key_segment_t keySegment);
597 extern LINKAGE btrieve_status_code_t BtrieveIndexAttributesAllocate(btrieve_index_attributes_t *btrieveIndexAttributesPtr);
598 extern LINKAGE btrieve_status_code_t BtrieveIndexAttributesFree(btrieve_index_attributes_t indexAttributes);
599 extern LINKAGE btrieve_status_code_t BtrieveIndexAttributesSetACSMode(btrieve_index_attributes_t indexAttributes, btrieve_acs_mode_t ACSMode);
600 extern LINKAGE btrieve_status_code_t BtrieveIndexAttributesSetACSName(btrieve_index_attributes_t indexAttributes, const char *ACSName);
601 extern LINKAGE btrieve_status_code_t BtrieveIndexAttributesSetACSNumber(btrieve_index_attributes_t indexAttributes, int ACSNumber);
602 extern LINKAGE btrieve_status_code_t BtrieveIndexAttributesSetACSUserDefined(btrieve_index_attributes_t indexAttributes, const char *ACSName, const char *ACSMap, int ACSMapLength);
603 extern LINKAGE btrieve_status_code_t BtrieveIndexAttributesSetDuplicateMode(btrieve_index_attributes_t indexAttributes, btrieve_duplicate_mode_t duplicateMode);
604 extern LINKAGE btrieve_status_code_t BtrieveIndexAttributesSetIndex(btrieve_index_attributes_t indexAttributes, btrieve_index_t index);
605 extern LINKAGE btrieve_status_code_t BtrieveIndexAttributesSetModifiable(btrieve_index_attributes_t indexAttributes, int enableModifiable);
606 extern LINKAGE btrieve_status_code_t BtrieveKeySegmentAllocate(btrieve_key_segment_t *btrieveKeySegmentPtr);
607 extern LINKAGE btrieve_status_code_t BtrieveKeySegmentFree(btrieve_key_segment_t keySegment);
608 extern LINKAGE btrieve_status_code_t BtrieveKeySegmentGetLastStatusCode(btrieve_key_segment_t keySegment);
609 extern LINKAGE btrieve_status_code_t BtrieveKeySegmentSetDescendingSortOrder(btrieve_key_segment_t keySegment, int setDescendingSortOrder);
610 extern LINKAGE btrieve_status_code_t BtrieveKeySegmentSetField(btrieve_key_segment_t keySegment, int offset, int length, btrieve_data_type_t dataType);
611 extern LINKAGE btrieve_status_code_t BtrieveKeySegmentSetNullKeyMode(btrieve_key_segment_t keySegment, btrieve_null_key_mode_t nullKeyMode);
612 extern LINKAGE btrieve_status_code_t BtrieveKeySegmentSetNullValue(btrieve_key_segment_t keySegment, int nullValue);
613 extern LINKAGE btrieve_status_code_t BtrieveVersionAllocate(btrieve_version_t *btrieveVersionPtr);
614 extern LINKAGE btrieve_status_code_t BtrieveVersionFree(btrieve_version_t version);
615 extern LINKAGE btrieve_status_code_t BtrieveVersionGetLastStatusCode(btrieve_version_t version);
616 extern LINKAGE btrieve_system_data_mode_t BtrieveFileInformationGetSystemDataMode(btrieve_file_information_t fileInformation);
618 extern LINKAGE btrieve_version_type_t BtrieveVersionGetClientVersionType(btrieve_version_t version);
619 extern LINKAGE btrieve_version_type_t BtrieveVersionGetLocalVersionType(btrieve_version_t version);
620 extern LINKAGE btrieve_version_type_t BtrieveVersionGetRemoteVersionType(btrieve_version_t version);
621 extern LINKAGE const char *BtrieveACSModeToString(btrieve_acs_mode_t ACSMode);
622 extern LINKAGE const char *BtrieveDataTypeToString(btrieve_data_type_t dataType);
623 extern LINKAGE const char *BtrieveDuplicateModeToString(btrieve_duplicate_mode_t duplicateMode);
624 extern LINKAGE const char *BtrieveFileVersionToString(btrieve_file_version_t fileVersion);
625 extern LINKAGE const char *BtrieveFreeSpaceThresholdToString(btrieve_free_space_threshold_t freeSpaceThreshold);
626 extern LINKAGE const char *BtrieveIndexToString(btrieve_index_t index);
627 extern LINKAGE const char *BtrieveLockModeToString(btrieve_lock_mode_t lockMode);
628 extern LINKAGE const char *BtrieveNullKeyModeToString(btrieve_null_key_mode_t nullKeyMode);
629 extern LINKAGE const char *BtrieveOwnerModeToString(btrieve_owner_mode_t ownerMode);
630 extern LINKAGE const char *BtrievePageLockTypeToString(btrieve_page_lock_type_t pageLockType);
631 extern LINKAGE const char *BtrievePageSizeToString(btrieve_page_size_t pageSize);
632 extern LINKAGE const char *BtrieveRecordCompressionModeToString(btrieve_record_compression_mode_t RecordCompressionMode);
633 extern LINKAGE const char *BtrieveStatusCodeToString(btrieve_status_code_t statusCode);
634 extern LINKAGE const char *BtrieveSystemDataModeToString(btrieve_system_data_mode_t systemDataMode);
636 extern LINKAGE const char *BtrieveVersionTypeToString(btrieve_version_type_t versionType);
637 extern LINKAGE int BtrieveBulkCreateResultGetRecordCount(btrieve_bulk_create_result_t bulkCreateResult);
638 extern LINKAGE long long BtrieveBulkCreateResultGetRecordCursorPosition(btrieve_bulk_create_result_t bulkCreateResult, int recordNumber);
639 extern LINKAGE int BtrieveBulkRetrieveResultGetRecord(btrieve_bulk_retrieve_result_t bulkRetrieveResult, int recordNumber, char *record, int recordSize);
640 extern LINKAGE int BtrieveBulkRetrieveResultGetRecordCount(btrieve_bulk_retrieve_result_t bulkRetrieveResult);
641 extern LINKAGE long long BtrieveBulkRetrieveResultGetRecordCursorPosition(btrieve_bulk_retrieve_result_t bulkRetrieveResult, int recordNumber);
642 extern LINKAGE int BtrieveBulkRetrieveResultGetRecordLength(btrieve_bulk_retrieve_result_t bulkRetrieveResult, int recordNumber);
643 extern LINKAGE int BtrieveClientGetClientIdentifier(btrieve_client_t client);
644 extern LINKAGE int BtrieveClientGetServiceAgentIdentifier(btrieve_client_t client);
645 extern LINKAGE long long BtrieveFileGetCursorPosition(btrieve_file_t file);
646 extern LINKAGE int BtrieveFileGetNumerator(btrieve_file_t file, btrieve_index_t index, const char *key, int keyLength, long long cursorPosition, int denominator);
647 extern LINKAGE int BtrieveFileGetPercentage(btrieve_file_t file, btrieve_index_t index, const char *key, int keyLength, long long cursorPosition);
648 extern LINKAGE int BtrieveFileInformationGetBalancedIndexes(btrieve_file_information_t fileInformation);
649 extern LINKAGE int BtrieveFileInformationGetClientTransactions(btrieve_file_information_t fileInformation);
650 extern LINKAGE int BtrieveFileInformationGetContinuousOperation(btrieve_file_information_t fileInformation);
651 extern LINKAGE long long BtrieveFileInformationGetDuplicateRecordConflictCursorPosition(btrieve_file_information_t fileInformation);
652 extern LINKAGE int BtrieveFileInformationGetExplicitLocks(btrieve_file_information_t fileInformation);
653 extern LINKAGE int BtrieveFileInformationGetFixedRecordLength(btrieve_file_information_t fileInformation);
654 extern LINKAGE int BtrieveFileInformationGetGatewayMajorVersion(btrieve_file_information_t fileInformation);
655 extern LINKAGE int BtrieveFileInformationGetGatewayMinorVersion(btrieve_file_information_t fileInformation);
656 extern LINKAGE int BtrieveFileInformationGetGatewayPatchLevel(btrieve_file_information_t fileInformation);
657 extern LINKAGE int BtrieveFileInformationGetGatewayPlatform(btrieve_file_information_t fileInformation);
658 extern LINKAGE int BtrieveFileInformationGetHandleCount(btrieve_file_information_t fileInformation);
659 extern LINKAGE int BtrieveFileInformationGetIdentifier(btrieve_file_information_t fileInformation);
660 extern LINKAGE int BtrieveFileInformationGetIndexCount(btrieve_file_information_t fileInformation);
661 extern LINKAGE int BtrieveFileInformationGetKeyOnly(btrieve_file_information_t fileInformation);
662 extern LINKAGE int BtrieveFileInformationGetLockOwnerClientIdentifier(btrieve_file_information_t fileInformation);
663 extern LINKAGE int BtrieveFileInformationGetLockOwnerFileLock(btrieve_file_information_t fileInformation);
664 extern LINKAGE int BtrieveFileInformationGetLockOwnerImplicitLock(btrieve_file_information_t fileInformation);
665 extern LINKAGE int BtrieveFileInformationGetLockOwnerRecordLock(btrieve_file_information_t fileInformation);
666 extern LINKAGE int BtrieveFileInformationGetLockOwnerSameProcess(btrieve_file_information_t fileInformation);
667 extern LINKAGE int BtrieveFileInformationGetLockOwnerServiceAgentIdentifier(btrieve_file_information_t fileInformation);
668 extern LINKAGE int BtrieveFileInformationGetLockOwnerTimeInTransaction(btrieve_file_information_t fileInformation);
669 extern LINKAGE int BtrieveFileInformationGetLockOwnerTransactionLevel(btrieve_file_information_t fileInformation);
670 extern LINKAGE int BtrieveFileInformationGetLockOwnerWriteHold(btrieve_file_information_t fileInformation);
671 extern LINKAGE int BtrieveFileInformationGetLockOwnerWriteNoWait(btrieve_file_information_t fileInformation);
672 extern LINKAGE int BtrieveFileInformationGetLoggable(btrieve_file_information_t fileInformation);
673 extern LINKAGE int BtrieveFileInformationGetOpenTimestamp(btrieve_file_information_t fileInformation);
674 extern LINKAGE int BtrieveFileInformationGetPageCompression(btrieve_file_information_t fileInformation);
675 extern LINKAGE int BtrieveFileInformationGetPagePreallocation(btrieve_file_information_t fileInformation);
676 extern LINKAGE int BtrieveFileInformationGetReadOnly(btrieve_file_information_t fileInformation);
677 extern LINKAGE long long BtrieveFileInformationGetRecordCount(btrieve_file_information_t fileInformation);
678 extern LINKAGE int BtrieveFileInformationGetReferentialIntegrityConstraints(btrieve_file_information_t fileInformation);
679 extern LINKAGE long long BtrieveFileInformationGetReferentialIntegrityCursorPosition(btrieve_file_information_t fileInformation);
680 extern LINKAGE int BtrieveFileInformationGetReferentialIntegrityOperationCode(btrieve_file_information_t fileInformation);
681 extern LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseAuthenticationByDatabase(btrieve_file_information_t fileInformation);
682 extern LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseAuthorizationByDatabase(btrieve_file_information_t fileInformation);
683 extern LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseBtpasswd(btrieve_file_information_t fileInformation);
684 extern LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseExplicit(btrieve_file_information_t fileInformation);
685 extern LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseImplicit(btrieve_file_information_t fileInformation);
686 extern LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabasePAM(btrieve_file_information_t fileInformation);
687 extern LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseRTSSComplete(btrieve_file_information_t fileInformation);
688 extern LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseRTSSDisabled(btrieve_file_information_t fileInformation);
689 extern LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseRTSSPreauthorized(btrieve_file_information_t fileInformation);
690 extern LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseTrusted(btrieve_file_information_t fileInformation);
691 extern LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseWindowsNamedPipe(btrieve_file_information_t fileInformation);
692 extern LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseWorkgroup(btrieve_file_information_t fileInformation);
693 extern LINKAGE int BtrieveFileInformationGetSecurityHandleAuthenticationByDatabase(btrieve_file_information_t fileInformation);
694 extern LINKAGE int BtrieveFileInformationGetSecurityHandleAuthorizationByDatabase(btrieve_file_information_t fileInformation);
695 extern LINKAGE int BtrieveFileInformationGetSecurityHandleBtpasswd(btrieve_file_information_t fileInformation);
696 extern LINKAGE int BtrieveFileInformationGetSecurityHandleExplicit(btrieve_file_information_t fileInformation);
697 extern LINKAGE int BtrieveFileInformationGetSecurityHandleImplicit(btrieve_file_information_t fileInformation);
698 extern LINKAGE int BtrieveFileInformationGetSecurityHandlePAM(btrieve_file_information_t fileInformation);
699 extern LINKAGE int BtrieveFileInformationGetSecurityHandleRTSSComplete(btrieve_file_information_t fileInformation);
700 extern LINKAGE int BtrieveFileInformationGetSecurityHandleRTSSDisabled(btrieve_file_information_t fileInformation);
701 extern LINKAGE int BtrieveFileInformationGetSecurityHandleRTSSPreauthorized(btrieve_file_information_t fileInformation);
702 extern LINKAGE int BtrieveFileInformationGetSecurityHandleTrusted(btrieve_file_information_t fileInformation);
703 extern LINKAGE int BtrieveFileInformationGetSecurityHandleWindowsNamedPipe(btrieve_file_information_t fileInformation);
704 extern LINKAGE int BtrieveFileInformationGetSecurityHandleWorkgroup(btrieve_file_information_t fileInformation);
705 extern LINKAGE int BtrieveFileInformationGetSecurityPermissionAlter(btrieve_file_information_t fileInformation);
706 extern LINKAGE int BtrieveFileInformationGetSecurityPermissionCreateFile(btrieve_file_information_t fileInformation);
707 extern LINKAGE int BtrieveFileInformationGetSecurityPermissionCreateRecord(btrieve_file_information_t fileInformation);
708 extern LINKAGE int BtrieveFileInformationGetSecurityPermissionCreateStoredProcedure(btrieve_file_information_t fileInformation);
709 extern LINKAGE int BtrieveFileInformationGetSecurityPermissionCreateView(btrieve_file_information_t fileInformation);
710 extern LINKAGE int BtrieveFileInformationGetSecurityPermissionDelete(btrieve_file_information_t fileInformation);
711 extern LINKAGE int BtrieveFileInformationGetSecurityPermissionExecute(btrieve_file_information_t fileInformation);
712 extern LINKAGE int BtrieveFileInformationGetSecurityPermissionNoRights(btrieve_file_information_t fileInformation);
713 extern LINKAGE int BtrieveFileInformationGetSecurityPermissionOpen(btrieve_file_information_t fileInformation);
714 extern LINKAGE int BtrieveFileInformationGetSecurityPermissionRead(btrieve_file_information_t fileInformation);
715 extern LINKAGE int BtrieveFileInformationGetSecurityPermissionRefer(btrieve_file_information_t fileInformation);
716 extern LINKAGE int BtrieveFileInformationGetSecurityPermissionUpdate(btrieve_file_information_t fileInformation);
717 extern LINKAGE int BtrieveFileInformationGetSegmentCount(btrieve_file_information_t fileInformation);
718 extern LINKAGE int BtrieveFileInformationGetSegmented(btrieve_file_information_t fileInformation);
719 extern LINKAGE int BtrieveFileInformationGetSystemIndexPresent(btrieve_file_information_t fileInformation);
720 extern LINKAGE int BtrieveFileInformationGetSystemIndexSize(btrieve_file_information_t fileInformation);
721 extern LINKAGE int BtrieveFileInformationGetSystemIndexUsed(btrieve_file_information_t fileInformation);
722 extern LINKAGE int BtrieveFileInformationGetSystemIndexVersion(btrieve_file_information_t fileInformation);
723 extern LINKAGE int BtrieveFileInformationGetUnusedDuplicatePointerCount(btrieve_file_information_t fileInformation);
724 extern LINKAGE int BtrieveFileInformationGetUnusedPageCount(btrieve_file_information_t fileInformation);
725 extern LINKAGE int BtrieveFileInformationGetUsageCount(btrieve_file_information_t fileInformation);
726 extern LINKAGE int BtrieveFileInformationGetWrongOwner(btrieve_file_information_t fileInformation);
727 extern LINKAGE int BtrieveFileRecordRetrieve(btrieve_file_t file, btrieve_comparison_t comparison, btrieve_index_t index, const char *key, int keyLength, char *record, int recordSize, btrieve_lock_mode_t lockMode);
728 extern LINKAGE int BtrieveFileRecordRetrieveByCursorPosition(btrieve_file_t file, btrieve_index_t index, long long cursorPosition, char *record, int recordSize, btrieve_lock_mode_t lockMode);
729 extern LINKAGE int BtrieveFileRecordRetrieveByFraction(btrieve_file_t file, btrieve_index_t index, int numerator, int denominator, char *record, int recordSize, btrieve_lock_mode_t lockMode);
730 extern LINKAGE int BtrieveFileRecordRetrieveByPercentage(btrieve_file_t file, btrieve_index_t index, int percentage, char *record, int recordSize, btrieve_lock_mode_t lockMode);
731 extern LINKAGE int BtrieveFileRecordRetrieveChunk(btrieve_file_t file, int offset, int length, char *chunk, int chunkSize, btrieve_lock_mode_t lockMode);
732 extern LINKAGE int BtrieveFileRecordRetrieveFirst(btrieve_file_t file, btrieve_index_t index, char *record, int recordSize, btrieve_lock_mode_t lockMode);
733 extern LINKAGE int BtrieveFileRecordRetrieveLast(btrieve_file_t file, btrieve_index_t index, char *record, int recordSize, btrieve_lock_mode_t lockMode);
734 extern LINKAGE int BtrieveFileRecordRetrieveNext(btrieve_file_t file, char *record, int recordSize, btrieve_lock_mode_t lockMode);
735 extern LINKAGE int BtrieveFileRecordRetrievePrevious(btrieve_file_t file, char *record, int recordSize, btrieve_lock_mode_t lockMode);
736 extern LINKAGE int BtrieveKeySegmentGetACSNumber(btrieve_key_segment_t keySegment);
737 extern LINKAGE int BtrieveKeySegmentGetDescendingSortOrder(btrieve_key_segment_t keySegment);
738 extern LINKAGE int BtrieveKeySegmentGetKeyContinues(btrieve_key_segment_t keySegment);
739 extern LINKAGE int BtrieveKeySegmentGetLength(btrieve_key_segment_t keySegment);
740 extern LINKAGE int BtrieveKeySegmentGetModifiable(btrieve_key_segment_t keySegment);
741 extern LINKAGE int BtrieveKeySegmentGetNullAllSegments(btrieve_key_segment_t keySegment);
742 extern LINKAGE int BtrieveKeySegmentGetNullAnySegment(btrieve_key_segment_t keySegment);
743 extern LINKAGE int BtrieveKeySegmentGetNullValue(btrieve_key_segment_t keySegment);
744 extern LINKAGE int BtrieveKeySegmentGetOffset(btrieve_key_segment_t keySegment);
745 extern LINKAGE int BtrieveKeySegmentGetSegmented(btrieve_key_segment_t keySegment);
746 extern LINKAGE long long BtrieveKeySegmentGetUniqueValueCount(btrieve_key_segment_t keySegment);
747 extern LINKAGE int BtrieveKeySegmentGetUseNumberedACS(btrieve_key_segment_t keySegment);
748 extern LINKAGE int BtrieveVersionGetClientRevisionNumber(btrieve_version_t version);
749 extern LINKAGE int BtrieveVersionGetClientVersionNumber(btrieve_version_t version);
750 extern LINKAGE int BtrieveVersionGetLocalRevisionNumber(btrieve_version_t version);
751 extern LINKAGE int BtrieveVersionGetLocalVersionNumber(btrieve_version_t version);
752 extern LINKAGE int BtrieveVersionGetRemoteRevisionNumber(btrieve_version_t version);
753 extern LINKAGE int BtrieveVersionGetRemoteVersionNumber(btrieve_version_t version);
754 extern LINKAGE long long BtrieveUnixEpochMicrosecondsToTimestamp(long long microseconds);
755 extern LINKAGE long long BtrieveTimestampToUnixEpochMicroseconds(long long timestamp);
756 
760 
761 #ifdef __cplusplus
762 }
763 #endif
764 
765 #endif
LINKAGE int BtrieveFileInformationGetClientTransactions(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:97
Definition: btrieveC.h:407
Definition: btrieveC.h:421
Definition: btrieveC.h:247
Definition: btrieveC.h:175
Definition: btrieveC.h:363
Definition: btrieveC.h:357
Definition: btrieveC.h:373
Definition: btrieveC.h:307
LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseRTSSComplete(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:383
Definition: btrieveC.h:145
Definition: btrieveC.h:393
LINKAGE btrieve_status_code_t BtrieveBulkRetrieveAttributesSetSkipCurrentRecord(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, int skipCurrentRecord)
LINKAGE btrieve_status_code_t BtrieveFileInformationGetSecurityHandleDatabaseName(btrieve_file_information_t fileInformation, char *name, int nameSize)
LINKAGE int BtrieveFileInformationGetLockOwnerWriteNoWait(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:400
Definition: btrieveC.h:306
Definition: btrieveC.h:397
LINKAGE btrieve_status_code_t BtrieveFileGetInformation(btrieve_file_t file, btrieve_file_information_t fileInformation)
LINKAGE int BtrieveFileGetPercentage(btrieve_file_t file, btrieve_index_t index, const char *key, int keyLength, long long cursorPosition)
LINKAGE btrieve_file_version_t BtrieveFileInformationGetFileVersion(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveIndexAttributesAddKeySegment(btrieve_index_attributes_t indexAttributes, btrieve_key_segment_t keySegment)
LINKAGE btrieve_status_code_t BtrieveClientGetCurrentDirectoryW(btrieve_client_t client, btrieve_disk_drive_t diskDrive, wchar_t *currentDirectoryW, int currentDirectorySize)
Definition: btrieveC.h:126
Definition: btrieveC.h:448
Definition: btrieveC.h:278
Definition: btrieveC.h:450
Definition: btrieveC.h:319
Definition: btrieveC.h:456
Definition: btrieveC.h:277
Definition: btrieveC.h:152
Definition: btrieveC.h:292
LINKAGE long long BtrieveKeySegmentGetUniqueValueCount(btrieve_key_segment_t keySegment)
LINKAGE btrieve_status_code_t BtrieveFileUnlockCursorPosition(btrieve_file_t file, long long cursorPosition)
Definition: btrieveC.h:318
Definition: btrieveC.h:118
Definition: btrieveC.h:311
LINKAGE int BtrieveFileInformationGetSecurityPermissionNoRights(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:207
LINKAGE btrieve_status_code_t BtrieveFileInformationGetSegmentFileName(btrieve_file_information_t fileInformation, int segmentFileNumber, char *name, int nameSize)
Definition: btrieveC.h:159
Definition: btrieveC.h:44
LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseTrusted(btrieve_file_information_t fileInformation)
struct btrieve_client * btrieve_client_t
Definition: btrieveC.h:468
LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseWorkgroup(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:414
LINKAGE int BtrieveFileInformationGetSecurityPermissionDelete(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:372
Definition: btrieveC.h:371
Definition: btrieveC.h:63
Definition: btrieveC.h:396
btrieve_null_key_mode_t
Definition: btrieveC.h:435
Definition: btrieveC.h:367
Definition: btrieveC.h:364
Definition: btrieveC.h:135
Definition: btrieveC.h:313
LINKAGE btrieve_status_code_t BtrieveIndexAttributesSetACSNumber(btrieve_index_attributes_t indexAttributes, int ACSNumber)
LINKAGE btrieve_status_code_t BtrieveFilterSetComparisonConstant(btrieve_filter_t filter, const char *constant, int constantLength)
struct btrieve_file_attributes * btrieve_file_attributes_t
Definition: btrieveC.h:470
LINKAGE int BtrieveFileInformationGetLockOwnerServiceAgentIdentifier(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:399
Definition: btrieveC.h:295
Definition: btrieveC.h:246
LINKAGE int BtrieveKeySegmentGetLength(btrieve_key_segment_t keySegment)
Definition: btrieveC.h:376
Definition: btrieveC.h:125
LINKAGE btrieve_version_type_t BtrieveVersionGetClientVersionType(btrieve_version_t version)
Definition: btrieveC.h:405
Definition: btrieveC.h:367
LINKAGE btrieve_status_code_t BtrieveClientGetCurrentDirectory(btrieve_client_t client, btrieve_disk_drive_t diskDrive, char *currentDirectory, int currentDirectorySize)
Definition: btrieveC.h:234
Definition: btrieveC.h:213
LINKAGE int BtrieveFileInformationGetSecurityPermissionUpdate(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:103
Definition: btrieveC.h:292
Definition: btrieveC.h:422
Definition: btrieveC.h:364
Definition: btrieveC.h:169
Definition: btrieveC.h:187
LINKAGE 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)
btrieve_index_t
Definition: btrieveC.h:360
Definition: btrieveC.h:153
Definition: btrieveC.h:409
Definition: btrieveC.h:365
LINKAGE int BtrieveKeySegmentGetOffset(btrieve_key_segment_t keySegment)
btrieve_transaction_mode_t
Definition: btrieveC.h:351
LINKAGE btrieve_version_type_t BtrieveVersionGetRemoteVersionType(btrieve_version_t version)
Definition: btrieveC.h:309
LINKAGE btrieve_status_code_t BtrieveFileAttributesSetFixedRecordLength(btrieve_file_attributes_t fileAttributes, int fixedRecordLength)
Definition: btrieveC.h:416
Definition: btrieveC.h:209
LINKAGE btrieve_status_code_t BtrieveKeySegmentSetField(btrieve_key_segment_t keySegment, int offset, int length, btrieve_data_type_t dataType)
Definition: btrieveC.h:310
LINKAGE int BtrieveFileInformationGetUnusedDuplicatePointerCount(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:222
LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseWindowsNamedPipe(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:293
LINKAGE btrieve_status_code_t BtrieveFileRecordUnlock(btrieve_file_t file, btrieve_unlock_mode_t unlockMode)
Definition: btrieveC.h:306
Definition: btrieveC.h:238
Definition: btrieveC.h:215
Definition: btrieveC.h:450
Definition: btrieveC.h:311
LINKAGE btrieve_index_t BtrieveFileInformationGetLockOwnerIndex(btrieve_file_information_t fileInformation)
LINKAGE const char * BtrieveFreeSpaceThresholdToString(btrieve_free_space_threshold_t freeSpaceThreshold)
LINKAGE long long BtrieveFileInformationGetDuplicateRecordConflictCursorPosition(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:335
Definition: btrieveC.h:361
LINKAGE int BtrieveVersionGetRemoteVersionNumber(btrieve_version_t version)
btrieve_connector_t
Definition: btrieveC.h:299
Definition: btrieveC.h:365
LINKAGE int BtrieveFileRecordRetrieve(btrieve_file_t file, btrieve_comparison_t comparison, btrieve_index_t index, const char *key, int keyLength, char *record, int recordSize, btrieve_lock_mode_t lockMode)
LINKAGE long long BtrieveFileInformationGetRecordCount(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:214
Definition: btrieveC.h:447
Definition: btrieveC.h:249
btrieve_page_lock_type_t
Definition: btrieveC.h:440
LINKAGE btrieve_status_code_t BtrieveClientFileDeleteW(btrieve_client_t client, const wchar_t *fileName)
LINKAGE int BtrieveVersionGetRemoteRevisionNumber(btrieve_version_t version)
Definition: btrieveC.h:51
Definition: btrieveC.h:310
Definition: btrieveC.h:84
LINKAGE int BtrieveFileInformationGetReadOnly(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveFileAttributesSetReservedDuplicatePointerCount(btrieve_file_attributes_t fileAttributes, int reservedDuplicatePointerCount)
LINKAGE btrieve_status_code_t BtrieveFileInformationGetLastStatusCode(btrieve_file_information_t fileInformation)
LINKAGE int BtrieveBulkRetrieveResultGetRecordCount(btrieve_bulk_retrieve_result_t bulkRetrieveResult)
LINKAGE btrieve_index_t BtrieveFileInformationGetDuplicateRecordConflictIndex(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:385
btrieve_open_mode_t
Definition: btrieveC.h:339
Definition: btrieveC.h:391
btrieve_lock_mode_t
Definition: btrieveC.h:334
LINKAGE btrieve_status_code_t BtrieveFileInformationGetSecurityCurrentUserName(btrieve_file_information_t fileInformation, char *name, int nameSize)
struct btrieve_bulk_create_result * btrieve_bulk_create_result_t
Definition: btrieveC.h:461
Definition: btrieveC.h:143
Definition: btrieveC.h:331
Definition: btrieveC.h:39
Definition: btrieveC.h:391
LINKAGE int BtrieveFileInformationGetSecurityPermissionAlter(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveFileAttributesSetFreeSpaceThreshold(btrieve_file_attributes_t fileAttributes, btrieve_free_space_threshold_t freeSpaceThreshold)
Definition: btrieveC.h:326
Definition: btrieveC.h:244
LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseRTSSPreauthorized(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:321
Definition: btrieveC.h:372
Definition: btrieveC.h:366
Definition: btrieveC.h:395
LINKAGE const char * BtrieveLockModeToString(btrieve_lock_mode_t lockMode)
LINKAGE btrieve_system_data_mode_t BtrieveFileInformationGetSystemDataMode(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:399
LINKAGE btrieve_status_code_t BtrieveFileInformationAllocate(btrieve_file_information_t *btrieveFileInformationPtr)
Definition: btrieveC.h:330
Definition: btrieveC.h:313
Definition: btrieveC.h:441
btrieve_page_size_t
Definition: btrieveC.h:446
LINKAGE btrieve_status_code_t BtrieveVersionAllocate(btrieve_version_t *btrieveVersionPtr)
LINKAGE btrieve_status_code_t BtrieveFileInformationGetReferentialIntegrityFileName(btrieve_file_information_t fileInformation, char *name, int nameSize)
Definition: btrieveC.h:193
Definition: btrieveC.h:282
Definition: btrieveC.h:368
Definition: btrieveC.h:251
Definition: btrieveC.h:335
btrieve_acs_mode_t
Definition: btrieveC.h:276
LINKAGE btrieve_status_code_t BtrieveFilterSetComparisonField(btrieve_filter_t filter, int offset)
LINKAGE int BtrieveFileRecordRetrieveByFraction(btrieve_file_t file, btrieve_index_t index, int numerator, int denominator, char *record, int recordSize, btrieve_lock_mode_t lockMode)
LINKAGE btrieve_status_code_t BtrieveBulkCreateResultFree(btrieve_bulk_create_result_t bulkCreateResult)
LINKAGE btrieve_status_code_t BtrieveBulkCreatePayloadAddRecord(btrieve_bulk_create_payload_t bulkCreatePayload, const char *record, int recordLength)
Definition: btrieveC.h:387
LINKAGE btrieve_status_code_t BtrieveBulkRetrieveAttributesSetMaximumRejectCount(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, int maximumRejectCount)
LINKAGE int BtrieveFileInformationGetSecurityHandleImplicit(btrieve_file_information_t fileInformation)
LINKAGE int BtrieveFileRecordRetrieveByPercentage(btrieve_file_t file, btrieve_index_t index, int percentage, char *record, int recordSize, btrieve_lock_mode_t lockMode)
LINKAGE int BtrieveFileInformationGetGatewayMinorVersion(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:437
LINKAGE int BtrieveFileInformationGetSecurityPermissionCreateFile(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:366
Definition: btrieveC.h:196
Definition: btrieveC.h:411
LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseImplicit(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:223
LINKAGE btrieve_record_compression_mode_t BtrieveFileInformationGetRecordCompressionMode(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:336
LINKAGE btrieve_status_code_t BtrieveBulkRetrieveAttributesAddFilter(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, btrieve_filter_t filter)
btrieve_record_compression_mode_t
Definition: btrieveC.h:281
LINKAGE long long BtrieveBulkCreateResultGetRecordCursorPosition(btrieve_bulk_create_result_t bulkCreateResult, int recordNumber)
Definition: btrieveC.h:388
LINKAGE int BtrieveFileInformationGetPageCompression(btrieve_file_information_t fileInformation)
LINKAGE btrieve_lock_mode_t BtrieveFileInformationGetLockOwnerExplicitLockMode(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:308
Definition: btrieveC.h:313
Definition: btrieveC.h:401
Definition: btrieveC.h:369
LINKAGE int BtrieveFileInformationGetLockOwnerWriteHold(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:331
LINKAGE int BtrieveFileInformationGetSecurityHandleRTSSComplete(btrieve_file_information_t fileInformation)
LINKAGE int BtrieveFileInformationGetSecurityHandleAuthorizationByDatabase(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveFilterSetACSUserDefined(btrieve_filter_t filter, const char *name)
Definition: btrieveC.h:394
Definition: btrieveC.h:254
LINKAGE btrieve_status_code_t BtrieveFileBulkCreate(btrieve_file_t file, const btrieve_bulk_create_payload_t bulkCreatePayload, btrieve_bulk_create_result_t bulkCreateResult)
Definition: btrieveC.h:362
Definition: btrieveC.h:449
LINKAGE int BtrieveFileInformationGetWrongOwner(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:413
LINKAGE int BtrieveFileInformationGetIdentifier(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:377
Definition: btrieveC.h:62
LINKAGE btrieve_status_code_t BtrieveIndexAttributesSetACSUserDefined(btrieve_index_attributes_t indexAttributes, const char *ACSName, const char *ACSMap, int ACSMapLength)
Definition: btrieveC.h:283
Definition: btrieveC.h:300
Definition: btrieveC.h:398
Definition: btrieveC.h:380
Definition: btrieveC.h:426
Definition: btrieveC.h:392
Definition: btrieveC.h:417
LINKAGE int BtrieveFileRecordRetrieveFirst(btrieve_file_t file, btrieve_index_t index, char *record, int recordSize, btrieve_lock_mode_t lockMode)
LINKAGE int BtrieveFileInformationGetSecurityHandleTrusted(btrieve_file_information_t fileInformation)
LINKAGE int BtrieveFileInformationGetSecurityPermissionExecute(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:411
LINKAGE btrieve_status_code_t BtrieveClientSetCurrentDirectory(btrieve_client_t client, const char *currentDirectory)
btrieve_system_data_mode_t
Definition: btrieveC.h:455
Definition: btrieveC.h:374
Definition: btrieveC.h:265
LINKAGE int BtrieveVersionGetLocalVersionNumber(btrieve_version_t version)
Definition: btrieveC.h:277
LINKAGE int BtrieveKeySegmentGetNullAllSegments(btrieve_key_segment_t keySegment)
LINKAGE const char * BtrieveDataTypeToString(btrieve_data_type_t dataType)
LINKAGE int BtrieveVersionGetLocalRevisionNumber(btrieve_version_t version)
Definition: btrieveC.h:49
LINKAGE btrieve_status_code_t BtrieveFileInformationGetSecurityHandleUserName(btrieve_file_information_t fileInformation, char *name, int nameSize)
Definition: btrieveC.h:379
Definition: btrieveC.h:368
Definition: btrieveC.h:400
Definition: btrieveC.h:240
LINKAGE btrieve_status_code_t BtrieveFilterSetComparison(btrieve_filter_t filter, btrieve_comparison_t comparison)
Definition: btrieveC.h:452
Definition: btrieveC.h:107
LINKAGE btrieve_status_code_t BtrieveFileAttributesSetVariableLengthRecordsMode(btrieve_file_attributes_t fileAttributes, btrieve_variable_length_records_mode_t variableLengthRecordsMode)
LINKAGE int BtrieveFileInformationGetSecurityPermissionRefer(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:146
Definition: btrieveC.h:305
Definition: btrieveC.h:318
LINKAGE btrieve_status_code_t BtrieveVersionGetLastStatusCode(btrieve_version_t version)
Definition: btrieveC.h:30
LINKAGE btrieve_status_code_t BtrieveFilterFree(btrieve_filter_t filter)
LINKAGE int BtrieveFileInformationGetSegmented(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:378
LINKAGE int BtrieveFileRecordRetrievePrevious(btrieve_file_t file, char *record, int recordSize, btrieve_lock_mode_t lockMode)
LINKAGE int BtrieveFileInformationGetSecurityHandleExplicit(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:390
LINKAGE btrieve_page_lock_type_t BtrieveFileInformationGetLockOwnerPageLockType(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:357
Definition: btrieveC.h:381
LINKAGE long long BtrieveFileGetCursorPosition(btrieve_file_t file)
#define LINKAGE
Definition: btrieveC.h:18
Definition: btrieveC.h:395
Definition: btrieveC.h:308
LINKAGE btrieve_status_code_t BtrieveBulkRetrieveAttributesAllocate(btrieve_bulk_retrieve_attributes_t *bulkRetrieveAttributesPtr)
Definition: btrieveC.h:422
Definition: btrieveC.h:29
LINKAGE int BtrieveFileInformationGetLockOwnerImplicitLock(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:451
Definition: btrieveC.h:182
Definition: btrieveC.h:200
Definition: btrieveC.h:314
struct btrieve_key_segment * btrieve_key_segment_t
Definition: btrieveC.h:474
LINKAGE btrieve_index_t BtrieveKeySegmentGetIndex(btrieve_key_segment_t keySegment)
Definition: btrieveC.h:300
LINKAGE btrieve_status_code_t BtrieveIndexAttributesSetACSMode(btrieve_index_attributes_t indexAttributes, btrieve_acs_mode_t ACSMode)
Definition: btrieveC.h:312
Definition: btrieveC.h:111
LINKAGE btrieve_status_code_t BtrieveClientSetCurrentDirectoryW(btrieve_client_t client, const wchar_t *currentDirectory)
Definition: btrieveC.h:278
Definition: btrieveC.h:423
Definition: btrieveC.h:340
LINKAGE btrieve_status_code_t BtrieveKeySegmentSetNullKeyMode(btrieve_key_segment_t keySegment, btrieve_null_key_mode_t nullKeyMode)
btrieve_free_space_threshold_t
Definition: btrieveC.h:429
Definition: btrieveC.h:206
LINKAGE int BtrieveFileInformationGetSecurityPermissionCreateRecord(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:425
Definition: btrieveC.h:92
Definition: btrieveC.h:421
Definition: btrieveC.h:409
Definition: btrieveC.h:326
struct btrieve_bulk_create_payload * btrieve_bulk_create_payload_t
Definition: btrieveC.h:460
Definition: btrieveC.h:391
Definition: btrieveC.h:376
btrieve_duplicate_mode_t
Definition: btrieveC.h:286
LINKAGE btrieve_status_code_t BtrieveBulkCreatePayloadAllocate(btrieve_bulk_create_payload_t *btrieveBulkCreatePayloadPtr)
btrieve_disk_drive_t
Definition: btrieveC.h:304
Definition: btrieveC.h:430
Definition: btrieveC.h:128
Definition: btrieveC.h:406
Definition: btrieveC.h:424
Definition: btrieveC.h:389
Definition: btrieveC.h:287
LINKAGE int BtrieveClientGetServiceAgentIdentifier(btrieve_client_t client)
LINKAGE btrieve_status_code_t BtrieveIndexAttributesSetModifiable(btrieve_index_attributes_t indexAttributes, int enableModifiable)
Definition: btrieveC.h:352
LINKAGE int BtrieveKeySegmentGetNullAnySegment(btrieve_key_segment_t keySegment)
LINKAGE int BtrieveFileRecordRetrieveLast(btrieve_file_t file, btrieve_index_t index, char *record, int recordSize, btrieve_lock_mode_t lockMode)
Definition: btrieveC.h:385
Definition: btrieveC.h:211
Definition: btrieveC.h:43
LINKAGE btrieve_status_code_t BtrieveClientLogin(btrieve_client_t client, const char *databaseURI)
Definition: btrieveC.h:59
LINKAGE btrieve_status_code_t BtrieveBulkCreatePayloadFree(btrieve_bulk_create_payload_t bulkCreatePayload)
LINKAGE int BtrieveFileInformationGetSecurityHandleWindowsNamedPipe(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveFileAttributesSetRecordCompressionMode(btrieve_file_attributes_t fileAttributes, btrieve_record_compression_mode_t recordCompressionMode)
LINKAGE int BtrieveFileInformationGetSegmentCount(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveFileRecordTruncate(btrieve_file_t file, int offset)
Definition: btrieveC.h:216
Definition: btrieveC.h:410
LINKAGE btrieve_status_code_t BtrieveClientLogout(btrieve_client_t client, const char *databaseURI)
Definition: btrieveC.h:387
Definition: btrieveC.h:457
Definition: btrieveC.h:410
Definition: btrieveC.h:370
LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseExplicit(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:189
Definition: btrieveC.h:105
Definition: btrieveC.h:185
Definition: btrieveC.h:405
LINKAGE btrieve_status_code_t BtrieveClientFree(btrieve_client_t client)
LINKAGE int BtrieveFileRecordRetrieveNext(btrieve_file_t file, char *record, int recordSize, btrieve_lock_mode_t lockMode)
Definition: btrieveC.h:322
LINKAGE btrieve_status_code_t BtrieveClientTransactionBegin(btrieve_client_t client, btrieve_transaction_mode_t transactionMode, btrieve_lock_mode_t lockMode)
LINKAGE const char * BtrievePageLockTypeToString(btrieve_page_lock_type_t pageLockType)
Definition: btrieveC.h:288
Definition: btrieveC.h:412
Definition: btrieveC.h:106
LINKAGE int BtrieveFileInformationGetBalancedIndexes(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:301
Definition: btrieveC.h:336
Definition: btrieveC.h:386
LINKAGE btrieve_status_code_t BtrieveKeySegmentSetDescendingSortOrder(btrieve_key_segment_t keySegment, int setDescendingSortOrder)
Definition: btrieveC.h:377
Definition: btrieveC.h:396
LINKAGE btrieve_status_code_t BtrieveClientContinuousOperationBegin(btrieve_client_t client, const char *pathNames)
Definition: btrieveC.h:431
LINKAGE btrieve_status_code_t BtrieveFileKeyRetrieveNext(btrieve_file_t file, char *key, int keySize)
Definition: btrieveC.h:195
LINKAGE int BtrieveFileInformationGetKeyOnly(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:330
Definition: btrieveC.h:198
Definition: btrieveC.h:230
Definition: btrieveC.h:374
Definition: btrieveC.h:353
Definition: btrieveC.h:406
Definition: btrieveC.h:336
Definition: btrieveC.h:109
LINKAGE int BtrieveKeySegmentGetDescendingSortOrder(btrieve_key_segment_t keySegment)
LINKAGE btrieve_status_code_t BtrieveBulkRetrieveResultGetLastStatusCode(btrieve_bulk_retrieve_result_t bulkRetrieveResult)
Definition: btrieveC.h:321
Definition: btrieveC.h:264
Definition: btrieveC.h:163
Definition: btrieveC.h:393
Definition: btrieveC.h:308
VariableLengthRecordsMode
Definition: btrieveC.h:269
Definition: btrieveC.h:416
Definition: btrieveC.h:278
LINKAGE btrieve_status_code_t BtrieveFilterSetLikeCodePageName(btrieve_filter_t filter, const char *name)
Definition: btrieveC.h:309
LINKAGE int BtrieveFileInformationGetSecurityHandleWorkgroup(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveClientFileClose(btrieve_client_t client, btrieve_file_t file)
struct btrieve_filter * btrieve_filter_t
Definition: btrieveC.h:472
Definition: btrieveC.h:229
LINKAGE btrieve_status_code_t BtrieveFileKeyRetrieveLast(btrieve_file_t file, btrieve_index_t index, char *key, int keySize)
Definition: btrieveC.h:204
LINKAGE const char * BtrieveVersionTypeToString(btrieve_version_type_t versionType)
LINKAGE int BtrieveFileInformationGetLockOwnerClientIdentifier(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveFilterSetField(btrieve_filter_t filter, int offset, int length, btrieve_data_type_t dataType)
Definition: btrieveC.h:389
Definition: btrieveC.h:115
LINKAGE int BtrieveFileInformationGetSecurityHandlePAM(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:415
Definition: btrieveC.h:366
Definition: btrieveC.h:387
Definition: btrieveC.h:372
LINKAGE long long BtrieveTimestampToUnixEpochMicroseconds(long long timestamp)
Definition: btrieveC.h:83
LINKAGE btrieve_free_space_threshold_t BtrieveFileInformationGetFreeSpaceThreshold(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:374
LINKAGE const char * BtrieveRecordCompressionModeToString(btrieve_record_compression_mode_t RecordCompressionMode)
Definition: btrieveC.h:76
Definition: btrieveC.h:442
Definition: btrieveC.h:219
Definition: btrieveC.h:192
Definition: btrieveC.h:380
LINKAGE int BtrieveFileInformationGetSystemIndexSize(btrieve_file_information_t fileInformation)
LINKAGE int BtrieveFileInformationGetSecurityPermissionRead(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:436
struct btrieve_bulk_retrieve_result * btrieve_bulk_retrieve_result_t
Definition: btrieveC.h:465
Definition: btrieveC.h:378
Definition: btrieveC.h:390
Definition: btrieveC.h:401
struct btrieve_bulk_retrieve_attributes * btrieve_bulk_retrieve_attributes_t
Definition: btrieveC.h:463
LINKAGE btrieve_status_code_t BtrieveIndexAttributesSetIndex(btrieve_index_attributes_t indexAttributes, btrieve_index_t index)
LINKAGE btrieve_status_code_t BtrieveFileRecordDelete(btrieve_file_t file)
Definition: btrieveC.h:369
Definition: btrieveC.h:442
Definition: btrieveC.h:370
Definition: btrieveC.h:384
Definition: btrieveC.h:176
LINKAGE btrieve_status_code_t BtrieveFileAttributesAllocate(btrieve_file_attributes_t *btrieveFileAttributesPtr)
Definition: btrieveC.h:436
LINKAGE btrieve_status_code_t BtrieveClientLogoutW(btrieve_client_t client, const wchar_t *databaseURI)
LINKAGE btrieve_status_code_t BtrieveFilterAllocate(btrieve_filter_t *btrieveFilterPtr)
Definition: btrieveC.h:357
LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabasePAM(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:309
Definition: btrieveC.h:220
Definition: btrieveC.h:390
LINKAGE const char * BtrievePageSizeToString(btrieve_page_size_t pageSize)
LINKAGE int BtrieveFileInformationGetSystemIndexUsed(btrieve_file_information_t fileInformation)
LINKAGE btrieve_owner_mode_t BtrieveFileInformationGetOwnerMode(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:441
LINKAGE int BtrieveFileRecordRetrieveByCursorPosition(btrieve_file_t file, btrieve_index_t index, long long cursorPosition, char *record, int recordSize, btrieve_lock_mode_t lockMode)
Definition: btrieveC.h:399
Definition: btrieveC.h:408
Definition: btrieveC.h:412
Definition: btrieveC.h:293
Definition: btrieveC.h:396
LINKAGE int BtrieveBulkRetrieveResultGetRecord(btrieve_bulk_retrieve_result_t bulkRetrieveResult, int recordNumber, char *record, int recordSize)
Definition: btrieveC.h:307
LINKAGE int BtrieveFileInformationGetSystemIndexPresent(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:186
Definition: btrieveC.h:379
LINKAGE btrieve_status_code_t BtrieveFileInformationGetSecurityHandleTableName(btrieve_file_information_t fileInformation, char *name, int nameSize)
LINKAGE btrieve_page_size_t BtrieveFileInformationGetPageSize(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:42
Definition: btrieveC.h:232
LINKAGE btrieve_status_code_t BtrieveFileKeyRetrieveFirst(btrieve_file_t file, btrieve_index_t index, char *key, int keySize)
LINKAGE btrieve_status_code_t BtrieveIndexAttributesSetDuplicateMode(btrieve_index_attributes_t indexAttributes, btrieve_duplicate_mode_t duplicateMode)
Definition: btrieveC.h:386
LINKAGE btrieve_status_code_t BtrieveFilterSetACSMode(btrieve_filter_t filter, btrieve_acs_mode_t ACSMode)
Definition: btrieveC.h:341
Definition: btrieveC.h:383
Definition: btrieveC.h:311
Definition: btrieveC.h:160
Definition: btrieveC.h:71
Definition: btrieveC.h:235
Definition: btrieveC.h:227
LINKAGE int BtrieveFileInformationGetUsageCount(btrieve_file_information_t fileInformation)
LINKAGE const char * BtrieveVariableLengthRecordsModeToString(btrieve_variable_length_records_mode_t variableLengthRecordsMode)
Definition: btrieveC.h:56
Definition: btrieveC.h:77
Definition: btrieveC.h:423
Definition: btrieveC.h:456
Definition: btrieveC.h:363
LINKAGE btrieve_status_code_t BtrieveFileInformationGetKeySegment(btrieve_file_information_t fileInformation, btrieve_key_segment_t keySegment, int keySegmentNumber)
Definition: btrieveC.h:447
Definition: btrieveC.h:375
LINKAGE btrieve_status_code_t BtrieveFileRecordUpdate(btrieve_file_t file, const char *record, int recordLength)
Definition: btrieveC.h:365
LINKAGE btrieve_status_code_t BtrieveClientStop(btrieve_client_t client)
Definition: btrieveC.h:380
Definition: btrieveC.h:45
Definition: btrieveC.h:306
Definition: btrieveC.h:114
Definition: btrieveC.h:157
Definition: btrieveC.h:386
LINKAGE const char * BtrieveNullKeyModeToString(btrieve_null_key_mode_t nullKeyMode)
Definition: btrieveC.h:437
LINKAGE int BtrieveFileInformationGetGatewayPlatform(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:371
LINKAGE btrieve_status_code_t BtrieveClientFileRename(btrieve_client_t client, const char *existingFileName, const char *newFileName)
LINKAGE btrieve_status_code_t BtrieveFileAttributesFree(btrieve_file_attributes_t fileAttributes)
btrieve_file_version_t
Definition: btrieveC.h:420
LINKAGE btrieve_status_code_t BtrieveClientContinuousOperationEndW(btrieve_client_t client, const wchar_t *pathNames)
Definition: btrieveC.h:228
Definition: btrieveC.h:101
Definition: btrieveC.h:60
Definition: btrieveC.h:397
Definition: btrieveC.h:224
Definition: btrieveC.h:80
LINKAGE int BtrieveVersionGetClientRevisionNumber(btrieve_version_t version)
Definition: btrieveC.h:363
LINKAGE btrieve_status_code_t BtrieveClientGetVersion(btrieve_client_t client, btrieve_version_t version, btrieve_file_t file)
LINKAGE btrieve_duplicate_mode_t BtrieveKeySegmentGetDuplicateMode(btrieve_key_segment_t keySegment)
Definition: btrieveC.h:149
Definition: btrieveC.h:382
LINKAGE btrieve_status_code_t BtrieveIndexAttributesSetACSName(btrieve_index_attributes_t indexAttributes, const char *ACSName)
LINKAGE int BtrieveFileRecordRetrieveChunk(btrieve_file_t file, int offset, int length, char *chunk, int chunkSize, btrieve_lock_mode_t lockMode)
Definition: btrieveC.h:217
Definition: btrieveC.h:319
LINKAGE 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)
Definition: btrieveC.h:376
Definition: btrieveC.h:361
LINKAGE const char * BtrieveOwnerModeToString(btrieve_owner_mode_t ownerMode)
Definition: btrieveC.h:379
Definition: btrieveC.h:369
struct btrieve_file * btrieve_file_t
Definition: btrieveC.h:469
LINKAGE int BtrieveFileInformationGetGatewayMajorVersion(btrieve_file_information_t fileInformation)
struct btrieve_index_attributes * btrieve_index_attributes_t
Definition: btrieveC.h:473
LINKAGE btrieve_status_code_t BtrieveFileSetOwner(btrieve_file_t file, btrieve_owner_mode_t ownerMode, const char *ownerName, const char *ownerNameAgain, int useLongOwnerName)
Definition: btrieveC.h:292
Definition: btrieveC.h:310
LINKAGE btrieve_status_code_t BtrieveFileRecordUpdateChunk(btrieve_file_t file, int offset, const char *chunk, int chunkLength)
Definition: btrieveC.h:361
Definition: btrieveC.h:451
Definition: btrieveC.h:373
Definition: btrieveC.h:305
LINKAGE btrieve_status_code_t BtrieveFileAttributesSetKeyOnly(btrieve_file_attributes_t fileAttributes, int enableKeyOnly)
LINKAGE btrieve_variable_length_records_mode_t BtrieveFileInformationGetVariableLengthRecordsMode(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveClientTransactionAbort(btrieve_client_t client)
Definition: btrieveC.h:27
LINKAGE int BtrieveBulkCreateResultGetRecordCount(btrieve_bulk_create_result_t bulkCreateResult)
LINKAGE const char * BtrieveStatusCodeToString(btrieve_status_code_t statusCode)
LINKAGE int BtrieveFileInformationGetLockOwnerFileLock(btrieve_file_information_t fileInformation)
LINKAGE int BtrieveFileInformationGetPagePreallocation(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:383
LINKAGE int BtrieveFileInformationGetReferentialIntegrityOperationCode(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:397
LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseRTSSDisabled(btrieve_file_information_t fileInformation)
LINKAGE int BtrieveFileInformationGetLockOwnerTimeInTransaction(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:305
Definition: btrieveC.h:102
Definition: btrieveC.h:99
Definition: btrieveC.h:96
LINKAGE btrieve_status_code_t BtrieveVersionFree(btrieve_version_t version)
Definition: btrieveC.h:335
Definition: btrieveC.h:367
Definition: btrieveC.h:373
LINKAGE btrieve_status_code_t BtrieveFileAttributesSetFileVersion(btrieve_file_attributes_t fileAttributes, btrieve_file_version_t fileVersion)
LINKAGE int BtrieveFileInformationGetSecurityHandleBtpasswd(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveClientContinuousOperationEnd(btrieve_client_t client, const char *pathNames)
LINKAGE int BtrieveFileInformationGetLoggable(btrieve_file_information_t fileInformation)
LINKAGE int BtrieveFileInformationGetLockOwnerRecordLock(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:394
LINKAGE const char * BtrieveSystemDataModeToString(btrieve_system_data_mode_t systemDataMode)
LINKAGE btrieve_status_code_t BtrieveFilterSetConnector(btrieve_filter_t filter, btrieve_connector_t connector)
Definition: btrieveC.h:151
enum VariableLengthRecordsMode btrieve_variable_length_records_mode_t
Definition: btrieveC.h:364
Definition: btrieveC.h:378
Definition: btrieveC.h:277
LINKAGE int BtrieveFileInformationGetLockOwnerSameProcess(btrieve_file_information_t fileInformation)
btrieve_create_mode_t
Definition: btrieveC.h:325
Definition: btrieveC.h:301
Definition: btrieveC.h:38
Definition: btrieveC.h:449
LINKAGE const char * BtrieveDuplicateModeToString(btrieve_duplicate_mode_t duplicateMode)
Definition: btrieveC.h:141
btrieve_unlock_mode_t
Definition: btrieveC.h:356
Definition: btrieveC.h:307
Definition: btrieveC.h:295
Definition: btrieveC.h:266
LINKAGE int BtrieveBulkRetrieveResultGetRecordLength(btrieve_bulk_retrieve_result_t bulkRetrieveResult, int recordNumber)
Definition: btrieveC.h:341
Definition: btrieveC.h:398
Definition: btrieveC.h:203
Definition: btrieveC.h:326
Definition: btrieveC.h:368
LINKAGE btrieve_status_code_t BtrieveBulkCreateResultGetLastStatusCode(btrieve_bulk_create_result_t bulkCreateResult)
LINKAGE btrieve_null_key_mode_t BtrieveKeySegmentGetNullKeyMode(btrieve_key_segment_t keySegment)
LINKAGE int BtrieveFileInformationGetSecurityHandleRTSSPreauthorized(btrieve_file_information_t fileInformation)
LINKAGE btrieve_acs_mode_t BtrieveKeySegmentGetACSMode(btrieve_key_segment_t keySegment)
Definition: btrieveC.h:389
Definition: btrieveC.h:362
LINKAGE const char * BtrieveFileVersionToString(btrieve_file_version_t fileVersion)
btrieve_version_type_t
Definition: btrieveC.h:317
Definition: btrieveC.h:348
Definition: btrieveC.h:398
LINKAGE btrieve_status_code_t BtrieveFileKeyRetrievePrevious(btrieve_file_t file, char *key, int keySize)
Definition: btrieveC.h:164
Definition: btrieveC.h:208
Definition: btrieveC.h:432
Definition: btrieveC.h:53
Definition: btrieveC.h:448
LINKAGE btrieve_status_code_t BtrieveFileInformationGetGatewayName(btrieve_file_information_t fileInformation, char *name, int nameSize)
LINKAGE int BtrieveKeySegmentGetSegmented(btrieve_key_segment_t keySegment)
Definition: btrieveC.h:245
Definition: btrieveC.h:457
Definition: btrieveC.h:385
btrieve_owner_mode_t
Definition: btrieveC.h:345
LINKAGE int BtrieveClientGetClientIdentifier(btrieve_client_t client)
btrieve_location_mode_t
Definition: btrieveC.h:329
LINKAGE btrieve_status_code_t BtrieveFileIndexDrop(btrieve_file_t file, btrieve_index_t index)
Definition: btrieveC.h:150
LINKAGE int BtrieveFileInformationGetSecurityHandleRTSSDisabled(btrieve_file_information_t fileInformation)
LINKAGE btrieve_data_type_t BtrieveKeySegmentGetDataType(btrieve_key_segment_t keySegment)
Definition: btrieveC.h:312
LINKAGE int BtrieveFileInformationGetContinuousOperation(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveFileInformationFree(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveFileKeyRetrieve(btrieve_file_t file, btrieve_comparison_t comparison, btrieve_index_t index, const char *key, int keyLength)
Definition: btrieveC.h:388
Definition: btrieveC.h:294
btrieve_data_type_t
Definition: btrieveC.h:404
LINKAGE int BtrieveKeySegmentGetUseNumberedACS(btrieve_key_segment_t keySegment)
struct btrieve_file_information * btrieve_file_information_t
Definition: btrieveC.h:471
LINKAGE btrieve_status_code_t BtrieveFileGetLastStatusCode(btrieve_file_t file)
Definition: btrieveC.h:407
LINKAGE int BtrieveFileInformationGetUnusedPageCount(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:312
struct btrieve_chunk_attributes * btrieve_chunk_attributes_t
Definition: btrieveC.h:467
Definition: btrieveC.h:346
Definition: btrieveC.h:362
LINKAGE int BtrieveFileInformationGetSecurityPermissionOpen(btrieve_file_information_t fileInformation)
LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseAuthenticationByDatabase(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveFileInformationGetLockOwnerName(btrieve_file_information_t fileInformation, char *name, int nameSize)
LINKAGE btrieve_status_code_t BtrieveClientGetLastStatusCode(btrieve_client_t client)
Definition: btrieveC.h:381
LINKAGE int BtrieveFileInformationGetSystemIndexVersion(btrieve_file_information_t fileInformation)
LINKAGE 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)
LINKAGE btrieve_status_code_t BtrieveFileAttributesSetPageSize(btrieve_file_attributes_t fileAttributes, btrieve_page_size_t pageSize, int enablePageCompression)
Definition: btrieveC.h:94
LINKAGE 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)
Definition: btrieveC.h:35
LINKAGE btrieve_status_code_t BtrieveBulkRetrieveResultAllocate(btrieve_bulk_retrieve_result_t *bulkRetrieveResultPtr)
LINKAGE btrieve_status_code_t BtrieveClientAllocate(btrieve_client_t *btrieveClientPtr, int serviceAgentIdentifier, int clientIdentifier)
Definition: btrieveC.h:36
Definition: btrieveC.h:392
btrieve_status_code_t
Definition: btrieveC.h:26
LINKAGE int BtrieveFileInformationGetReferentialIntegrityConstraints(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveIndexAttributesAllocate(btrieve_index_attributes_t *btrieveIndexAttributesPtr)
Definition: btrieveC.h:104
LINKAGE int BtrieveFileInformationGetSecurityPermissionCreateView(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:181
LINKAGE btrieve_status_code_t BtrieveClientFileDelete(btrieve_client_t client, const char *fileName)
Definition: btrieveC.h:110
Definition: btrieveC.h:393
LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseBtpasswd(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:370
Definition: btrieveC.h:144
Definition: btrieveC.h:248
LINKAGE long long BtrieveUnixEpochMicrosecondsToTimestamp(long long microseconds)
Definition: btrieveC.h:375
LINKAGE btrieve_status_code_t BtrieveFileRecordCreate(btrieve_file_t file, char *record, int recordLength)
LINKAGE int BtrieveFileInformationGetHandleCount(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveFileRecordAppendChunk(btrieve_file_t file, const char *chunk, int chunkLength)
LINKAGE btrieve_status_code_t BtrieveBulkRetrieveAttributesAddField(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, int offset, int length)
Definition: btrieveC.h:384
LINKAGE int BtrieveVersionGetClientVersionNumber(btrieve_version_t version)
LINKAGE int BtrieveKeySegmentGetACSNumber(btrieve_key_segment_t keySegment)
Definition: btrieveC.h:340
Definition: btrieveC.h:414
LINKAGE int BtrieveFileInformationGetSecurityHandleAuthenticationByDatabase(btrieve_file_information_t fileInformation)
LINKAGE int BtrieveFileInformationGetFixedRecordLength(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveKeySegmentGetLastStatusCode(btrieve_key_segment_t keySegment)
Definition: btrieveC.h:225
LINKAGE btrieve_status_code_t BtrieveFileInformationGetSecurityCurrentDatabaseName(btrieve_file_information_t fileInformation, char *name, int nameSize)
LINKAGE int BtrieveFileInformationGetSecurityPermissionCreateStoredProcedure(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveFileAttributesSetBalancedIndexes(btrieve_file_attributes_t fileAttributes, int enableBalancedIndexes)
Definition: btrieveC.h:430
LINKAGE btrieve_status_code_t BtrieveBulkRetrieveAttributesFree(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes)
Definition: btrieveC.h:342
Definition: btrieveC.h:158
LINKAGE btrieve_status_code_t BtrieveKeySegmentSetNullValue(btrieve_key_segment_t keySegment, int nullValue)
Definition: btrieveC.h:52
Definition: btrieveC.h:382
LINKAGE int BtrieveKeySegmentGetModifiable(btrieve_key_segment_t keySegment)
LINKAGE long long BtrieveBulkRetrieveResultGetRecordCursorPosition(btrieve_bulk_retrieve_result_t bulkRetrieveResult, int recordNumber)
LINKAGE int BtrieveFileGetNumerator(btrieve_file_t file, btrieve_index_t index, const char *key, int keyLength, long long cursorPosition, int denominator)
LINKAGE btrieve_status_code_t BtrieveIndexAttributesFree(btrieve_index_attributes_t indexAttributes)
LINKAGE btrieve_status_code_t BtrieveKeySegmentAllocate(btrieve_key_segment_t *btrieveKeySegmentPtr)
Definition: btrieveC.h:112
Definition: btrieveC.h:382
LINKAGE const char * BtrieveIndexToString(btrieve_index_t index)
Definition: btrieveC.h:320
LINKAGE long long BtrieveFileInformationGetReferentialIntegrityCursorPosition(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:388
LINKAGE int BtrieveKeySegmentGetNullValue(btrieve_key_segment_t keySegment)
LINKAGE btrieve_status_code_t BtrieveFileAttributesSetPreallocatedPageCount(btrieve_file_attributes_t fileAttributes, int preallocatedPageCount)
Definition: btrieveC.h:375
Definition: btrieveC.h:381
LINKAGE int BtrieveFileInformationGetSecurityCurrentDatabaseAuthorizationByDatabase(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:384
Definition: btrieveC.h:78
Definition: btrieveC.h:371
LINKAGE btrieve_status_code_t BtrieveKeySegmentFree(btrieve_key_segment_t keySegment)
Definition: btrieveC.h:296
LINKAGE btrieve_version_type_t BtrieveVersionGetLocalVersionType(btrieve_version_t version)
LINKAGE btrieve_status_code_t BtrieveClientReset(btrieve_client_t client)
LINKAGE btrieve_status_code_t BtrieveBulkCreateResultAllocate(btrieve_bulk_create_result_t *btrieveBulkCreateResultPtr)
LINKAGE btrieve_status_code_t BtrieveBulkRetrieveAttributesSetMaximumRecordCount(btrieve_bulk_retrieve_attributes_t bulkRetrieveAttributes, int maximumRecordCount)
Definition: btrieveC.h:392
LINKAGE int BtrieveFileInformationGetIndexCount(btrieve_file_information_t fileInformation)
LINKAGE 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)
btrieve_comparison_t
Definition: btrieveC.h:291
Definition: btrieveC.h:261
LINKAGE int BtrieveFileInformationGetLockOwnerTransactionLevel(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveClientLoginW(btrieve_client_t client, const wchar_t *databaseURI)
Definition: btrieveC.h:394
struct btrieve_version * btrieve_version_t
Definition: btrieveC.h:475
Definition: btrieveC.h:221
LINKAGE btrieve_status_code_t BtrieveClientTransactionEnd(btrieve_client_t client)
Definition: btrieveC.h:270
LINKAGE btrieve_status_code_t BtrieveFileIndexCreate(btrieve_file_t file, const btrieve_index_attributes_t indexAttributes)
LINKAGE btrieve_status_code_t BtrieveFileAttributesSetSystemDataMode(btrieve_file_attributes_t fileAttributes, btrieve_system_data_mode_t systemDataMode)
LINKAGE int BtrieveKeySegmentGetKeyContinues(btrieve_key_segment_t keySegment)
LINKAGE btrieve_index_t BtrieveFileInformationGetLogIndex(btrieve_file_information_t fileInformation)
LINKAGE btrieve_status_code_t BtrieveClientFileRenameW(btrieve_client_t client, const wchar_t *existingFileName, const wchar_t *newFileName)
LINKAGE btrieve_status_code_t BtrieveClientContinuousOperationBeginW(btrieve_client_t client, const wchar_t *pathNames)
LINKAGE int BtrieveFileInformationGetExplicitLocks(btrieve_file_information_t fileInformation)
LINKAGE 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)
Definition: btrieveC.h:239
Definition: btrieveC.h:408
Definition: btrieveC.h:148
Definition: btrieveC.h:377
LINKAGE const char * BtrieveACSModeToString(btrieve_acs_mode_t ACSMode)
Definition: btrieveC.h:413
LINKAGE btrieve_status_code_t BtrieveFilterSetACSName(btrieve_filter_t filter, const char *name)
Definition: btrieveC.h:400
Definition: btrieveC.h:28
Definition: btrieveC.h:241
Definition: btrieveC.h:431
LINKAGE btrieve_status_code_t BtrieveBulkRetrieveResultFree(btrieve_bulk_retrieve_result_t bulkRetrieveResult)
Definition: btrieveC.h:156
LINKAGE int BtrieveFileInformationGetOpenTimestamp(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:395
LINKAGE int BtrieveFileInformationGetGatewayPatchLevel(btrieve_file_information_t fileInformation)
Definition: btrieveC.h:443