Top
PowerBSORT V7.0 User's Guide
FUJITSU Software

7.5.13 BSFILE_BTRV structure

The BSFILE_BTRV structure is a structure to specify the owner name of input Btrieve file or the index information of output Btrieve file.

typedef struct {
    BSPTR_BSFILE    InOwnerNameTbl;
    short int       key_len;
    short int       bufsize;
    char           *btrv_spec;
} BSFILE_BTRV;

BSFILE_BTRV structure member

In the following, it explains about the member of the BSFILE_BTRV structure.

InOwnerNameTbl

This specifies the addresses of owner name table in input Btrieve files.
Normally it can be omitted and when omitted, specify NULL.

Information

Owner names can be specified by using BSFILE structure.
Owner names are specified in the same order as the input file name when there are two or more input files. Specify NULL for file_addr[i] of BSFILE structure when there is no owner name.

key_len

This specifies the total length of the index key in output Btrieve file.

bufsize

This specifies the size of the area where file information and index key information on output Btrieve file were set.

btrv_spec

This specifies the address of the area where file information and index key information on output Btrieve file were set.

Information

File information and index key information are the areas to specify file information and key information in output Btrieve file.
The overview is as follows. For more information about the table format and specification, refer to the programmer's guide or the operation manual of Btrieve.