Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX SNAplus2 NOF Programmers Guide: HP-UX 11i > Chapter 4 NOF API Verbs (QUERY Verbs)

QUERY_DOMAIN_CONFIG_FILE

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

QUERY_DOMAIN_CONFIG_FILE returns the header information included in the SNAplus2 domain configuration file (the SNAplus2 version number, the revision level of the file, and an optional comment string supplied on DEFINE_DOMAIN_CONFIG_FILE).

This verb must be issued to the domain configuration file.

VCB Structure

typedef struct query_domain_config_file
{
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 */
CONFIG_FILE_HEADER hdr;
} QUERY_DOMAIN_CONFIG_FILE;
typedef struct config_file_header
{
AP_UINT16 major_version; /* major version number */
AP_UINT16 minor_version; /* minor version number */
AP_UINT16 update_release; /* update release */
AP_UINT32 revision_level; /* file revision number */
unsigned char comment[100]; /* optional comment string */
unsigned char updating; /* reserved */
} CONFIG_FILE_HEADER;

Supplied Parameters

The application supplies the following parameter:

opcode

AP_QUERY_DOMAIN_CONFIG_FILE

Returned Parameters: Successful Execution

If the verb executes successfully, SNAplus2 returns the following parameters:

primary_rc

AP_OK

hdr.major_version,
hdr.minor_version, hdr.update_release

The internal version identifier of the release of SNAplus2 that was used to create this file.

hdr.revision_level

The revision level of the file (stored internally by SNAplus2).

hdr.comment

An optional comment string containing information about the file. This is an ASCII string of 0-99 characters, followed by a null character.

Returned Parameters: Other Conditions

Appendix A “Common Return Codes” lists further combinations of primary and secondary return codes that are common to all NOF verbs.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2003 Hewlett-Packard Development Company, L.P.