Next: , Previous: , Up: File Library Types   [Index]


7.12.2.2 struct x1f4_lxfile_type

typedef struct x1f4_lxfile_type {
    struct x1f4_track_type textflat_set;
    struct {
	int type;
    } datalink_set;
    struct {
	int type;
    } listlink_set;
    struct {
	int type;
    } filetype_set;
    struct x1f4_trans_type resource_set;
    struct x1f4_frame_type autolink_set;
    struct x1f4_trans_type codelink_set;
} x1f4_lxfile_type;

The x1f4_lxfile_type record lists the application concerns related to the file library objects generation.

The fields that are always interpreted by the file library constructor function are:

filetype_set

specifies the type id to use for the introduced ‘file’ type (some number conveniencing the application, greater than X1f4_E4_LAST) as:

See Symbolic Types.

type

the id

The fields that are interpreted only if so requested are:

See File Library Generation Flags.

listlink_set

specifies the type id to use for the referred ‘list’ type as:

type

the id

The type id will be used to construct functions (like the ‘f_list’ function) that refer list objects. If such functions are to be constructed the file library object must be introduced the list library object, before any (list related) constructed function gets executed.

See x1f4_list_lxfile.

datalink_set

specifies the type id to use for the referred ‘data’ type as:

type

the id

The type id will be used to construct functions (like the ‘f_b_read’ function) that refer byte array objects. If such functions are to be constructed the file library object must be introduced the byte data library object, before any (byte data related) constructed function gets executed.

See x1f4_data_lxfile.

codelink_set

specifies the library data memory allocator (allocates memory for the library object construction purposes only).

See struct x1f4_trans_type.

See Memory Allocator Construct.

resource_set

specifies the data memory allocator (allocates memory for the data created while executing programs).

See struct x1f4_trans_type.

See Memory Allocator Construct.

autolink_set

specifies the temporaries allocator.

See struct x1f4_frame_type.

See Temporaries.

See Temporaries Allocator Construct.

textflat_set

specifies the error reporter.

See struct x1f4_track_type.

See Error Reporter Construct.


Next: struct x1f4_sffile_type, Previous: struct x1f4_cdfile_type, Up: File Library Types   [Index]