HP-UX SNAplus2 R7 LUA Programmer's Guide

RUI Verbs
RUI_PURGE
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.
LUA_RESERVED_FIELD_NOT_ZERO
A reserved eld in the verb record, or a parameter that is not used by this verb, was set to a nonzero
value.
LUA_VERB_LENGTH_INVALID
The value of the lua_verb_length parameter was less than the length of the verb record required for
this verb.
State Check
The following return codes indicate that the verb was issued in a session state in which it was not valid:
lua_prim_rc
LUA_STATE_CHECK
lua_sec_rc
LUA_NO_RUI_SESSION
An RUI_INIT or RUI_INIT_PRIMARY verb has not yet completed successfully for the LU name
specied on this verb, or the session has failed.
Other Conditions
The following return codes indicate that the verb record supplied was valid, but the verb did not complete
successfully:
lua_prim_rc
LUA_UNSUCCESSFUL
lua_sec_rc
Possible values are:
LUA_INVALID_PROCESS
The operating system process that issued this verb was not the same process that issued the RUI_INIT
or RUI_INIT_PRIMARY verb for this session. Only the process that started a session can issue verbs
on that session.
LUA_NO_READ_TO_PURGE
Either the lua_data_ptr parameter did not contain a pointer to an RUI_READ VCB, or the RUI_READ
verb completed before the RUI_PURGE verb was issued.
The following return codes indicate that the verb did not complete successfully for other reasons:
82