HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (REGISTER_INDICATION_SINK to UNREGISTER_INDICATION_SINK)
SET_PROCESSING_MODE
Chapter 5 1057
Read-only mode: the application will
use only QUERY_* verbs, which do
not modify the configuration. This
option can be used with either a file
or a node as the target.
AP_MODE_READ_WRITE
Read / write mode: the application
may use any NOF API verbs. This
option can be used with either a file
or a node as the target.
AP_MODE_COMMIT
Commit mode: the application has
exclusive read/write access to the
target file, so that other applications
cannot access it until this application
releases it. This option can be used
only with the domain configuration
file as the target.
This mode is intended for issuing a
series of connected verbs to a file
(such as a series of DEFINE verbs for
related components). The application
should complete the series of verbs as
quickly as possible and then reset its
processing mode to one of the other
options, in order to release the file so
that other NOF API applications or
SNAplus2 components can access it.
Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following
parameters:
primary_rc
AP_OK
secondary_rc
Not used.