Next: , Previous: , Up: Byte Data Library Functions   [Index]


7.16.3.7 x1f4_init_lxdata

extern int x1f4_init_lxdata
    (void **lxdata, unsigned flags, const struct x1f4_lxdata_type *attributes);

The x1f4_init_lxdata function constructs a byte data library as requested by the flags generation flags and the attributes library attributes and stores the address of the construct at the lxdata address.

See Byte Data Library Generation Flags.

See struct x1f4_lxdata_type.

Only the type id to use for the introduced ‘data’ type field in the attributes struct x1f4_lxdata_type record is observed without explicit indication, the rest of the struct x1f4_lxdata_type fields are observed only if explicitly requested (via flags).

The function returns 0 for success, one of the defined error codes for failure.

See Byte Data Library Errors.

See Byte Data Library Specifics.

See Byte Library Data Usage Mechanics.