API Guide
601355 Rev A API Functions 2-313
Functions
VS_Mount_
Create VS_Mount_Create function allocates a VolServ API mount
handle. A mount handle is used to pass mount information to
and from VolServ.
Synopsis VST_MOUNT_HANDLE VS_Mount_Create (void)
Arguments None
Return Values VS_Mount_Create returns:
A mount handle, if one can be allocated.
NULL, if the mount handle cannot be allocated. An
appropriate error code is set in VSG_Error.
VSE_ERR_OUTOFMEM - Memory allocation error.
Example 1 /****************************************
*********
2*
3 * FUNCTION: vst_create_mount_handle
4*
5 * PURPOSE:
6 * This function creates the mount handle
and sets the
7 * values in it according to user input.
8*
9 * PARAMETERS:
10 * none
11 *
12 ****************************************
*********/
13 #ifdef ANSI_C
14 VST_MOUNT_HANDLE
vst_create_mount_handle ( void )
15 #else