Up: Control Library Types [Index]
typedef struct x1f4_lxpoll_type { struct x1f4_track_type textflat_set; struct { struct x1f4_eelookup_type *eelookup_data; } eelookup_set; struct { int date, file; } sidelink_set; struct { int type; } polltype_set; struct x1f4_trans_type resource_set; struct { int (*call)(void *, struct x1f4_nodelink_type *), (*fine)(void *, struct x1f4_nodelink_type **, struct x1f4_nodelink_type *), (*miss)(void *, struct x1f4_nodelink_type **, struct x1f4_nodelink_type *); void *text; } missbail_set; struct { unsigned miss; const struct x1f4_nodetype_type *nodetype_data; } datatype_set; struct { int (*call)(void *); sig_atomic_t *class; void *text; } position_set; struct x1f4_frame_type autolink_set; struct x1f4_trans_type codelink_set; } x1f4_lxpoll_type;
The x1f4_lxpoll_type
record lists the application concerns related to
the control library objects generation.
The fields that are always interpreted by the control library constructor function are:
polltype_set
specifies the type id to use for the introduced ‘dispatch’ type (some
number conveniencing the application, greater than X1f4_E4_LAST
) as:
See Symbolic Types.
type
the id
sidelink_set
specifies the type ids to assume for the referred ‘date’ and ‘file’ as:
See Symbolic Types.
date
the ‘date’ id
file
the ‘file’ id
See File Library.
autolink_set
specifies the temporaries allocator.
See Temporaries.
datatype_set
specifies the data types that are to receive special consideration for operations such as setting reference function parameters as:
miss
the data types count
nodetype_data
the array of struct x1f4_nodetype_type
record data type descriptions,
miss
long. The data type descriptions detail such data operations as
copying and freeing along data type identification (data type name and data
type id).
See struct x1f4_nodetype_type.
The array is not used outside the trap library object construction, no references inside it are recorded, it may come out of existence once the library object construction completed.
The fields that are interpreted only if so requested are:
See Control Library Generation Flags.
codelink_set
specifies the library data memory allocator (allocates memory for the library object construction purposes only).
resource_set
specifies the data memory allocator (allocates memory for the data created while executing programs).
textflat_set
specifies the error reporter.
missbail_set
specifies the consolidated disposal manager as:
miss
the object registration method
fine
the non recursive object registration method
call
the object deregistration method
text
the consolidated disposal context
eelookup_set
specifies a name lookup context as:
eelookup_data
the data type name lookup context, used for both error reporting and data type name retrieval
position_set
specifies the polling interruption cure as:
call
the method to call (NULL
for no method). It is assumed to return zero
for success, not zero otherwise. Failures are treated as any execution
failure, error class indications are observed.
See Error Classes.
text
the only parameter of the called method
class
the address of the flag to test on whether calling the method is in order (with non zero values requesting a call).
See Signal Reception.
Up: Control Library Types [Index]