HP-UX SNAplus2 R7 LUA Programmer's Guide

SLI Verbs
SLI_PURGE
5.4.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, the following parameters are returned:
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.
Unsuccessful Execution
If a verb does not complete successfully, LUA returns a primary return code to indicate the type of error and a
secondary return code to provide specic details about the reason for unsuccessful execution.
Verb Canceled
The following return codes indicate that the verb did not complete successfully because it was canceled by another
verb:
lua_prim_rc
LUA_CANCELLED
lua_sec_rc
LUA_TERMINATED
An SLI_CLOSE verb was issued while this verb was pending.
Parameter Check
The following return codes indicate that the verb did not complete successfully because a supplied parameter was
in error:
lua_prim_rc
LUA_PARAMETER_CHECK
lua_sec_rc
Possible values are:
LUA_BAD_DATA_PTR
The lua_data_ptr parameter was set to 0 (zero).
LUA_BAD_SESSION_ID
The lua_sid parameter did not match the session ID of any active LUA LU session.
UNIX
LUA_INVALID_POST_HANDLE
The lua_post_handle parameter was not a valid pointer to a callback routine.
126