HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (QUERY Verbs)
QUERY_DEFAULTS
Chapter 4594
QUERY_DEFAULTS
QUERY_DEFAULTS allows the user to query the default parameters
defined for the node (defined using DEFINE_DEFAULTS).
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;
Supplied Parameters
The application supplies the following parameter:
opcode
AP_QUERY_DEFAULTS
Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following
parameters:
primary_rc
AP_OK
default_chars.description