HP-UX SNAplus2 R7 LUA Programmer's Guide

SLI Verbs
SLI_BID
lua_luname
The name in ASCII of the LU used by the session. This must match the LU name of an active LUA session
(as returned on the SLI_OPEN verb).
This parameter is required only if the
lua_sid parameter is 0 (zero). If a session ID is supplied in lua_sid,
LUA does not use this parameter.
This parameter must be eight bytes long; pad on the right with spaces, 0x20, if the name is shorter than
eight characters.
lua_sid
The session ID of the session. This must match a session ID returned on a previous SLI_OPEN verb.
This parameter is optional; if you do not specify the session ID, you must specify the LU name for the session
in the lua_luname parameter.
lua_post_handle
UNIX
A pointer to a callback routine that LUA will call to indicate completion if the verb completes asynchronously.
WINDOWS
If the VCB is used in an SLI function call, set this eld to an event handle. If the VCB is used in a WinSLI
function call, this eld is reserved.
For more information, see Chapter 2, Designing and Writing LUA Applications.
5.1.2 Returned Parameters
LUA always returns the following parameter:
lua_ag2.async
This ag is set to
1 if the verb completed asynchronously, or
0 (zero) if the verb completed synchronously.
Other returned parameters depend on whether the verb completed successfully; see the following sections.
Successful Execution
If the verb completed successfully, LUA returns the following parameters:
lua_prim_rc
LUA_OK
lua_sid
If the application specied the lua_luname parameter when issuing this verb, rather than specifying the session
ID, LUA supplies the session ID.
lua_data_length
The number of bytes of data returned in the lua_peek_data parameter; from
0 to 12.
lua_th
The TH of the received message.
lua_rh
The RH of the received message.
106