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 API NOF Programmer's Guide: HP-UX 11.0, 11i v1, and 11i v2 > Chapter 3 NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)

DEFINE_DOMAIN_CONFIG_FILE

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

DEFINE_DOMAIN_CONFIG_FILE specifies a comment string to be included in the header of the domain configuration file, or modifies an existing comment string.

There is no equivalent verb for a node configuration file, because the header for this file does not contain a comment string; use the description parameter in the DEFINE_NODE verb to include comment information in a node configuration file.

This verb must be issued to the domain configuration file.

VCB Structure

typedef struct define_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;
} DEFINE_DOMAIN_CONFIG_FILE;
typedef struct config_file_header
{
AP_UINT16 major_version; /* reserved */
AP_UINT16 minor_version; /* reserved */
AP_UINT16 update_release; /* reserved */
AP_UINT32 revision_level; /* reserved */
unsigned char comment[100]; /* optional comment string */
unsigned char updating; /* reserved */
} CONFIG_FILE_HEADER;

Supplied Parameters

The application supplies the following parameters:

opcode

AP_DEFINE_DOMAIN_CONFIG_FILE

hdr.comment

An optional comment string to store information about the file. This is an ASCII string of 0-99 characters, followed by a null character. This parameter is for information only; SNAplus2 returns it on the QUERY_DOMAIN_CONFIG_FILE verb, but does not make any other use of it.

Returned Parameters: Successful Execution

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

primary_rc

AP_OK

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.