HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (REGISTER_INDICATION_SINK to UNREGISTER_INDICATION_SINK)
SET_PROCESSING_MODE
Chapter 51056
SET_PROCESSING_MODE
This verb specifies how the NOF application interacts with the target
node, configuration file, or SNA network data file: whether the
application has read-only access or read/write access, and whether the
application has exclusive access to the domain configuration file so that
other applications cannot access it.
The target node or file is specified by the
target_handle
parameter on
the NOF API call; the application obtains this parameter from the verb
CONNECT_NODE (for a node) or OPEN_FILE (for a file). For more
information about the use of this parameter, see “Description of the NOF
API Entry Points”.
This verb may be issued to the domain configuration file, to the sna.net
file, or to a running node. The valid processing modes that can be set
with this verb depend on the target type.
VCB Structure
typedef struct set_processing_mode
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
AP_UINT32 mode; /* new mode to be set for this handle */
} SET_PROCESSING_MODE;
Supplied Parameters
opcode
AP_SET_PROCESSING_MODE
mode
Requested mode for this target handle. The mode
cannot be changed while any previous verbs issued
using this target handle are still outstanding. Possible
values are:
AP_MODE_READ_ONLY