HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_DEFAULTS
the previous default PU until the session associated with the defined default PU becomes active. In this case,
this parameter specifies the name of the previous default PU, and is different from the
def_pu_name field.
If there are no active PU sessions, this field will be set to all binary zeros.
3.105.4 Returned Parameters: Node Not Started
If the verb does not execute because the node has not yet been started, SNAplus2 returns the following parameters:
primary_rc
AP_NODE_NOT_STARTED
3.105.5 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.106 QUERY_DEFAULTS
QUERY_DEFAULTS allows the user to query the default parameters defined for the node (defined using
DEFINE_DEFAULTS).
3.106.1 VCB Structure
typedef struct query_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 */
} QUERY_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 sensecodes?*/
AP_UINT16 limited_timeout; /* timeout for limited sessions */
unsigned char reserv[244]; /* reserved */
} DEFAULT_CHARS;
3.106.2 Supplied Parameters
The application supplies the following parameter:
opcode
AP_QUERY_DEFAULTS
389