HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_DEFAULTS
3.16.4 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.17 DEFINE_DEFAULTS
DEFINE_DEFAULTS species default parameters used by the node.
3.17.1 VCB Structure
typedef struct define_defaults
{
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 */
DEFAULT_CHARS default_chars; /* default parameters */
} DEFINE_DEFAULTS;
typedef struct default_chars
{
unsigned char description[32]; /* resource description */
unsigned char reserv2[16]; /* reserved */
unsigned char mode_name[8]; /* default mode name */
unsigned char implicit_plu_forbidden; /* disallow implicit PLUs? */
unsigned char specific_security_codes;/* generic security sense */
/* codes? */
AP_UINT16 limited_timeout; /* timeout for limited sessions*/
unsigned char reserv[244]; /* reserved */
} DEFAULT_CHARS;
3.17.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEFINE_DEFAULTS
default_chars.description
A null-terminated text string (031 characters followed by a null character) describing the default parameters.
This string is for information only; it is stored in the nodes conguration le and returned on the
QUERY_DEFAULTS verb, but SNAplus2 does not make any other use of it.
default_chars.mode_name
Name of the default mode. If an application species an unrecognized mode name when attempting to start
a session, the parameters from this mode will be used as a default denition for the unrecognized mode.
This must be either a mode dened by a previous DEFINE_MODE verb or one of the SNA-dened modes
listed in Section 1.1, Purpose of the NOF API. The name is an 8-byte type-A EBCDIC string (starting with
a letter), padded on the right with EBCDIC spaces if necessary.
125