HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_NODE_ALL
Chapter 4 853
The size of the returned node_summary structure, and
therefore the offset to the start of the next entry in the
data buffer.
node_summary.node_name
The name of the SNAplus2 node.
node_summary.config_role
The configuration file role of the server where the node
is running. For more information about configuration
file roles, refer to the HP-UX SNAplus2Administration
Guide. Possible values are:
AP_ROLE_MASTER
The server holds the master
configuration file.
AP_ROLE_BACKUP
The server holds a backup
configuration file.
AP_ROLE_NONE
The server does not share its copy of
the configuration file.
Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2
returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
Possible values are:
AP_INVALID_NODE_NAME
The
list_options
parameter was
set to AP_LIST_INCLUSIVE to list all
entries starting from the supplied
name, but the
node_name
parameter
was not valid.