Next: , Previous: x1f4_fset_lxlist, Up: List Library Functions


6.3.3.5 x1f4_init_lxlist

extern int x1f4_init_lxlist
    (void **lxlist, unsigned flags, const struct x1f4_lxlist_type *attributes);

The x1f4_init_lxlist function constructs a list library as requested by the flags generation flags and the attributes library attributes and stores the address of the construct at the lxlist address.

See List Library Generation Flags.

See struct x1f4_lxlist_type.

Only the type id to use for the introduced `list' type and the descriptions of the types allowed for list item data fields in the attributes struct x1f4_lxlist_type record are observed without explicit indication, the rest of the struct x1f4_lxlist_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 List Library Errors.

See List Library Specifics.

See List Library Usage Mechanics.