API Guide
601355 Rev A API Functions 2-149
Functions
VS_
CriteriaGroup
_Create
VS_CriteriaGroup_Create allocates a VolServ API
criteria group handle. A criteria group handle is used to pass
criteria group information to and from VolServ.
Synopsis
VST_CRITERIAGROUP_HANDLE
VS_CriteriaGroup_Create
( void )
Arguments None
Return Values
VS_CriteriaGroup_Create returns:
• A criteria group handle, if one can be allocated.
• NULL, if a criteria group 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_criteria
4*
5 * PURPOSE:
6 * This function creates the mount
criteria group
7 * handle and sets the values in it
according to user
8 * input.
9*
10 * PARAMETERS:
11 * none
12 *