HP-UX SNAplus2 R7 LUA Programmer's Guide

LUA VCB Structure
LUA Verb Control Block (VCB) Format
struct RUI_INIT
{
unsigned char rui_init_format;
unsigned char lua_puname[8];
unsigned char lua_lunumber;
unsigned char wait_for_link;
};
For RUI_BID and SLI_BID, this data structure contains the following eld:
lua_peek_data
Up to 12 bytes of the data waiting to be read.
UNIX
For the extended form of the RUI_INIT verb, this data structure contains the following elds. For more information
about the extended form of RUI_INIT, see Section 4.2,
RUI_INIT.
rui_init_format
Reservedthis parameter must be set to 0 (zero).
lua_puname
The name of the local PU that owns the LU to be used for this session. The PU name must be specied in
the denition of an LS or of an internal PU in the SNAplus2 conguration.
lua_lunumber
The LU number of the LU to be used for this session. This must match the LU number of a type 03LU
that is congured for the PU name specied by lua_puname.
wait_for_link
Normally, if the application issues RUI_INIT for an LU that cannot currently be used because the underly-
ing communications link is inactive, the RUI_INIT verb fails. Set this parameter to 1 to override this default
behavior so that LUA waits for the link and LU to become active before RUI_INIT completes, or 0 (zero) to
use the default behavior.
WINDOWS
The extended form of the RUI_INIT verb does not apply to Windows. The RUI_INIT data structure is not used.
For SLI_OPEN, this data structure contains the following elds. See Section 5.3, SLI_OPEN for detailed information
about these parameters.
lua_init_type
Species how LUA initiates the session (whether the primary or secondary is responsible for session initiation,
and the sequence of SNA messages required).
lua_session_type
Species how LUA should process an UNBIND type X01 (normal): whether this is a normal or dedicated
session.
lua_wait
Retry timeout (in seconds) for secondary-initiated session startup.
lua_open_extension
Structure containing information about the applications SLI_OPEN extension routines, if any.
lua_open_extension.lua_routine_type
62