High Availability Monitors Version A.03.02 Release Notes
NOF API Verbs (QUERY Verbs)
QUERY_DOMAIN_CONFIG_FILE
Chapter 4 645
QUERY_DOMAIN_CONFIG_FILE
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: