HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
STOP_LS
unsigned char disable; /* disable remote or auto activation? */
unsigned char reserved[3]; /* reserved */
} STOP_LS;
3.191.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_STOP_LS
stop_type
Type of stop processing required. Possible values are:
AP_ORDERLY_STOP
SNAplus2 will perform cleanup operations before stopping the LS.
AP_IMMEDIATE_STOP
SNAplus2 will stop the LS immediately.
ls_name
Name of LS to be stopped. This is an 8-byte ASCII string, padded on the right with spaces if the name is
shorter than 8 bytes, which must already have been dened by a DEFINE_LS verb.
disable
Species the action to be taken for the LS.
To stop an active LS and return to the default settings for auto-activation and remote activation, set this
parameter to AP_NO.
To specify that an inactive LS cannot be activated by SNAplus2, or cannot be activated by the remote system,
specify one or both of the following values (combined using a logical OR):
AP_AUTO_ACT
The LS cannot be activated automatically by SNAplus2.
AP_REMOTE_ACT
The LS cannot be activated by the remote system. This value does not alter the dened value of
disable_remote_act in the LS denition; when the LS is next started and stopped, it will return to the
dened setting.
3.191.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.191.4 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
746