HP-UX SNAplus2 R7 LUA Programmer's Guide

SLI Verbs
SLI_STSN_ROUTINE
5.9 SLI_STSN_ROUTINE
This verb is sent from LUA to the application (using the STSN extension routine entry point supplied by the
application on the SLI_OPEN verb), and not from the application to LUA.
The SLI_STSN_ROUTINE verb passes an STSN request from the host to the LUA application. The application
can respond with an STSN response, or reject it with an appropriate SNA sense code.
5.9.1 Supplied Parameters
LUA supplies the the following parameters to the application:
lua_verb
LUA_VERB_SLI
lua_verb_length
The length in bytes of the LUA verb record.
lua_opcode
LUA_OPCODE_SLI_STSN_ROUTINE
lua_luname
The name in ASCII of the LU used by the session.
lua_sid
The session ID of the session.
lua_data_length
The length of the supplied STSN RU.
lua_data_ptr
A pointer to the buffer containing the supplied STSN RU.
lua_th
The TH parameters from the STSN.
lua_rh
The RH parameters from the STSN.
5.9.2 Returned Parameters
The parameters returned by the application depend on whether the verb completed successfully; see the following
sections.
Successful Execution: STSN Response
If the application decides to accept the STSN, it returns the following parameters:
lua_prim_rc
LUA_OK
lua_data_ptr
A pointer to the buffer containing the supplied STSN response RU.
148