Up: Process Library Types   [Index]


7.18.2.1 struct x1f4_lxport_type

typedef struct x1f4_lxport_type {
    struct x1f4_track_type textflat_set;
    struct {
	int data, file, list, time;
    } sidelink_set;
    struct {
	int sshell, xshell;
    } porttype_set;
    struct x1f4_trans_type resource_set;
    struct {
	int (*call)(void *, struct x1f4_nodelink_type *),
	    (*fine)(void *, void *, struct x1f4_nodelink_type **,
		     struct x1f4_nodelink_type *),
	    (*miss)(void *, void *, struct x1f4_nodelink_type **,
		    struct x1f4_nodelink_type *);
	void *text;
    } missbail_set;
    struct x1f4_frame_type autolink_set;
    struct x1f4_trans_type codelink_set;
    struct {
	int method;
    } thirdset_set;
    struct {
	int (*call)(void *);
	void *back;
    } shutline_set;
} x1f4_lxport_type;

The x1f4_lxport_type record lists the application concerns related to process library objects generation.

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

porttype_set

specifies the type ids to use for the introduced ‘sshell’ and ‘xshell’ types (some number conveniencing the application, greater than X1f4_E4_LAST) as:

See Symbolic Types.

sshell

the ‘sshell’ id

xshell

the ‘xshell’ id

sidelink_set

specifies the type ids to assume for the referred ‘data’, ‘file’, ‘list’ and ‘time’ types (data of the introduced ‘sshell’ and ‘xshell’ types aggregates data of such types, types to be provided by corresponding byte data, file, list and time library objects) as:

See Symbolic Types.

data

the ‘data’ id

See Byte Data Library.

file

the ‘file’ id

See File Library.

list

the ‘list’ id

See List Library.

time

the ‘time’ id

See Date And Time Library.

The fields that are interpreted only if so requested are:

See Process Library Generation Flags.

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.

textflat_set

specifies the error reporter.

See struct x1f4_track_type.

See Error Reporter Construct.

autolink_set

specifies the temporaries allocator.

See struct x1f4_frame_type.

See Temporaries.

See Temporaries Allocator Construct.

shutline_set

specifies the process cleanup discipline as:

back

the discipline context, passed as sole argument to the discipline method and otherwise not interpreted

call

the method to call before executing the scheduled process. The method is call before the exec* call but after the fork(2) one. It is supplied one argument, the discipline context. If it returns non zero the process execution is aborted.

thirdset_set

specifies the policy on the executed process standard error file descriptor as:

method

selects the post fork(2) and pre exec* cure of standard error file descriptor. Expected one of the standard error policy definitions.

See Process Library Standard Error Policies.

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

See Consolidated Disposal.

See Consolidated Disposal Manager Construct.


Up: Process Library Types   [Index]