SNAX/HLS Application Programming Manual

Procedure Specifications
Customization
104707 Tandem Computers Incorporated 7–15
Procedure
Specifications
The following subsections present the syntax for the following routines:
SNAXHLS^USEREXIT^ENABLE
SNAXHLS^USEREXIT^VERB^IN
SNAXHLS^USEREXIT^VERB^OUT
SNAXHLS^USEREXIT^SNAX^IN
SNAXHLS^USEREXIT^SNAX^OUT
SNAXHLS^USEREXIT^VRFY^BIND^RSP
SNAXHLS^USEREXIT^VRFY^STSN^RSP
The USEREXIT^ENABLE
Routine
The SNAXHLS^USEREXIT^ENABLE routine is invoked by SNAX/HLS at startup in
order to allocate and preset working storage for the other customization routines and
to tell SNAX/HLS which of the other customization routines to invoke during
SNAX/HLS processing.
SNAX/HLS passes operating parameters to your routine through the
SNAXHLS^USEREXIT^IN^BLOCK. Your routine returns other operating parameters
to SNAX/HLS through the SNAXHLS^USEREXIT^OUT^BLOCK.
The following diagram depicts the structure of the block.
proc SNAXHLS^USEREXIT^ENABLE(
InBlock,
OutBlock,
Allocator
);
INT .EXT InBlock(SnaxHLS^UserExit^In^Block);
INT .EXT OutBlock(SnaxHLS^UserExit^Out^Block);
INT(32) PROC Allocator;
InBlock
is an INT .EXT:REF argument pointing to an instance of the
SNAXHLS^USEREXIT^IN^BLOCK structure, defined above. The structure
should not be modified.
OutBlock
is an INT EXT:REF argument pointing to an instance of the
SNAXHLS^USEREXIT^OUT^BLOCK structure, defined above.
Allocator
is the name of a procedure for allocating user-data storage. The routine is called as
follows:
addr := Allocator( size );