API Guide
2-496 API Functions 601355 Rev A
When the API software is operating in asynchronous mode,
client software must call VS_Select to receive intermediate
and final status on command requests submitted through the
API interface to the VolServ system. With the exceptions of the
manual archives, a pending or executing Audit command can
be cancelled using the VolServ Cancel command.
A pending or executing Audit command can be reprioritized
using the VolServ Reprioritize command.
Two levels of default parameter settings are used in the API
software—global defaults and command-specific defaults.
Global defaults are initialized at startup and can be set or
retrieved using VS_Global_SetFields and
VS_Global_GetFields function calls.
Command-specific parameter defaults for the Audit
command are set with VSCMD_Audit_SetDefaults. If
command-specific defaults are set for the Audit command,
they override the global defaults for all Audit requests.
The following fields can be retrieved from the status handle
after a successful Audit:
VSID_ACTION_CODE,
VSID_ACTION_CODE_ENTRY,
VSID_ACTION_CODE_TABLE,
VSID_COMP_ID,
Tip
To override a default (global or command-specific)
parameter value for a specific instance of an Audit request,
the parameter identifier and the value to be used for the
parameter can be submitted on the command request
itself.