API Guide
2-324 API Functions 601355 Rev A
Return Values VS_Mount_GetFields returns:
VSE_TRUE - Successful execution.
VSE_FALSE - API failure - An appropriate error code is set
in VSG_Error.
VSE_ERR_BADFIELD - An invalid parameter was
specified.
VSE_ERR_BADHANDLE - Specified handle was not a
mount handle.
VSE_ERR_NULLHANDLE - Specified handle was a null
pointer.
Example 1 /****************************************
*********
2*
3 * FUNCTION: vst_print_mount
4*
5 * PURPOSE:
6 * This function prints out the
information stored in
7 * a mount handle.
8 * PARAMETERS:
9 * mounth : the mount handle to print
10 *
VSID_MOVEWAIT_OPTION
(VST_MOVEWAIT_OPTION *) Pointer to a flag that indicates how VolServ is
to process a mount request that requires an
inter-archive move. Valid
VSID_MOVEWAIT_OPTION values are
enumerated in the vs_types.h file.
VSID_TARGET_MEDIA_CLASS_NAME
(VST_MEDIA_CLASS_NAME) Pointer to the MediaClass name where the
mounted media is reclassified if the reclassify
option is in effect for the mount command.
Parameter Type Description