HP-UX SNAplus2 R7 LUA Programmer's Guide
SLI Verbs
SLI_SDT_ROUTINE
A pointer to the buffer containing the supplied BIND RU. If the application is accepting the BIND as is, it
must not modify the contents of the buffer; if it is attempting to negotiate one or more parameters in the
BIND, it must modify the data to set the appropriate parameters to its preferred values.
Unsuccessful Execution: BIND Rejected
If the application decides to reject the BIND, 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 application’s reason for rejecting
the BIND.
5.7.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.7.4 Usage and Restrictions
There is no asynchronous return mechanism for the application’s extension routines. The routine must return
synchronously.
5.8 SLI_SDT_ROUTINE
This verb is sent from LUA to the application (using the SDT extension routine entry point supplied by the
application on the SLI_OPEN verb), and not from the application to LUA.
The SLI_SDT_ROUTINE verb passes an SDT request from the host to the LUA application. The application can
respond with an SDT response, or reject it with an appropriate SNA sense code.
5.8.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_SDT_ROUTINE
lua_luname
The name in ASCII of the LU used by the session.
146