HP-UX SNAplus2 R7 LUA Programmer's Guide
SLI Verbs
SLI_BIND_ROUTINE
5.7 SLI_BIND_ROUTINE
This verb is sent from LUA to the application (using the BIND extension routine entry point supplied by the
application on the SLI_OPEN verb), and not from the application to LUA.
The SLI_BIND_ROUTINE verb passes a BIND request from the host to the LUA application. The application can
accept the BIND as it is, modify it in an attempt to negotiate the BIND parameters, or reject it with an appropriate
SNA sense code.
5.7.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_BIND_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 BIND RU.
lua_data_ptr
A pointer to the buffer containing the supplied BIND RU.
lua_th
The TH parameters from the BIND.
lua_rh
The RH parameters from the BIND.
5.7.2 Returned Parameters
The parameters returned by the application depend on whether the verb completed successfully; see the following
sections.
Successful Execution: BIND Accepted or Negotiated
If the application decides to accept or negotiate the BIND, it returns the following parameters:
lua_prim_rc
LUA_OK
lua_data_ptr
145