HP-UX SNAplus2 R7 LUA Programmer's Guide
SLI Verbs
SLI_SEND
LUA_MESSAGE_TYPE_RSP
LUA_MESSAGE_TYPE_BID
LUA_MESSAGE_TYPE_BIS
LUA_MESSAGE_TYPE_CANCEL
LUA_MESSAGE_TYPE_CHASE
LUA_MESSAGE_TYPE_LUSTAT_LU
LUA_MESSAGE_TYPE_LUSTAT_SSCP
LUA_MESSAGE_TYPE_QC
LUA_MESSAGE_TYPE_QEC
LUA_MESSAGE_TYPE_RELQ
LUA_MESSAGE_TYPE_RTR
LUA_MESSAGE_TYPE_SBI
5.6.2 Returned Parameters
LUA always returns the following parameter:
lua_flag2.async
This flag 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 executes successfully, LUA returns the following parameters:
lua_prim_rc
LUA_OK
lua_sid
If the application specified the lua_luname parameter when issuing this verb, rather than specifying the session
ID, LUA supplies the session ID.
lua_th
The completed TH of the message written, including the fields filled in by LUA. You may need to save the
value of lua_th.snf (the sequence number) for correlation with responses from the host.
lua_flag2
parameters
One of the following flags will be set to
1 to indicate which message flow the data was sent on:
lua_flag2.lu_exp
lua_flag2.sscp_norm
lua_flag2.lu_norm
The SNAplus2 implementation of LUA does not allow applications to send data on the SSCP expedited flow,
and so will never set the sscp_exp flag (although other LUA implementations may set it).
lua_sequence_number
The sequence number of the RU that LUA uses to send the data (or of the first RU, if the data requires a
chain of RUs). This is stored in line format.
Successful Execution: Status Information
If the verb returned LUA status information, LUA returns the following parameters:
139