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.