SNAX/HLS Application Programming Manual

Data Structures
Customization
104707 Tandem Computers Incorporated 7–11
The SNAXHLS^USEREXIT^VERB^BLOCK Structure
The SNAXHLS^USEREXIT^VERB^BLOCK structure is passed to the customization
SNAXHLS^USEREXIT^VERB^IN routine (on verb arrival) and to the customization
SNAXHLS^USEREXIT^VERB^OUT routine (on verb reply). This block permits these
routines to identify the issuer of the verb being examined. The structure of the block is
as follows:
STRUCT Snaxhls^Userexit^Verb^Block(*); BEGIN
INT Requester^Number;
INT Requester^ID[0:4];
INT Session^Index;
STRUCT Requester^ID^E; BEGIN
INT Cpu;
INT Pin;
INT(32) NodeNumber;
STRING NodeNumber[0:63];
INT NodeName^Length;
STRING ProcessName[0:63]
INT ProcessName^Length;
END;
END;
Requester^Number
is an arbitrary positive integer. It uniquely identifies the issuer of a verb. No
particular significance should be placed upon the specific value.
Requester^ID
contains a five-word identification of the issuing process. The first word contains
the issuing process’s file number, the next three words contain the process ID, and
the last word contains the CPU/Process Identification Number (PIN).
Session^Index
contains the conversion from the session ID used in the verb (word 1) to the
internal session index. This conversion is such that session ID values
corresponding to validly accessible sessions are converted to integers in the range
1 to MAX^LUS (and all others to zero). Your customization routine can use this
value as an index to session-specific storage.