API Guide
601355 Rev A API Functions 2-123
Functions
VS_Criteria_
Create VS_Criteria_Create allocates a VolServ API criteria
handle. A criteria handle is used to pass criteria information to
and from VolServ.
A criteria has three parts: the field number corresponding to a
media statistic, a sort order (ascending/descending), and a
group of expression handles.
Together, the group of expression commands form a single
criteria to test against media that have the given field number.
The criteria group handle uses criteria handles to build a
comparison function that uses more than one field numbers.
Synopsis VST_CRITERIA_HANDLE VS_Criteria_Create
( void )
Arguments None
Return Values VS_Criteria_Create returns:
A criteria handle, if one can be allocated
NULL, if a criteria handle cannot be allocated. An
appropriate error code is set in VSG_Error.
VSE_ERR_OUTOFMEM - Memory allocation error.