HP-UX SNAplus2 R7 LUA Programmer's Guide

SLI Verbs
SLI_SDT_ROUTINE
lua_sid
The session ID of the session.
lua_data_length
The length of the supplied SDT RU.
lua_data_ptr
A pointer to the buffer containing the supplied SDT RU.
lua_th
The TH parameters from the SDT.
lua_rh
The RH parameters from the SDT.
5.8.2 Returned Parameters
The parameters returned by the application depend on whether the verb completed successfully; see the following
sections.
Successful Execution: SDT Response
If the application decides to accept the SDT, it returns the following parameters:
lua_prim_rc
LUA_OK
lua_data_ptr
A pointer to the buffer containing the supplied SDT response RU.
Unsuccessful Execution: SDT Rejected
If the application decides to reject the SDT, it returns the following parameters:
lua_prim_rc
LUA_NEGATIVE_RSP
lua_data_length
The length of the returned SNA sense code (in the lua_data_ptr parameter).
lua_data_ptr
A pointer to the buffer containing the SNA sense code associated with the applications reason for rejecting
the SDT.
5.8.3 Interaction with Other Verbs
LUA will call this routine from within its processing of the SLI_OPEN verb (after the application issues SLI_OPEN
and before its asynchronous return).
5.8.4 Usage and Restrictions
There is no asynchronous return mechanism for the applications extension routines. The routine must return
synchronously.
147