API Guide
2-218 API Functions 601355 Rev A
VS_
Expression_
Destroy
VS_Expression_Destroy deallocates an expression
handle that was allocated with VS_Expression_Create.
An expression handle is used to pass expression information to
and from VolServ.
Synopsis VST_BOOLEAN VS_EXPRESSION_DESTROY
(VST_EXPRESSION_HANDLE handle)
Arguments •handle = The expression handle to be destroyed.
Return Values VS_Expression_Destroy returns:
•VSE_TRUE - Successful execution.
•VSE_FALSE - API failure - The appropriate error code is
set in VSG_Error.
•VSE_ERR_BADHANDLE - Specified handle was not an
expression handle.
•VSE_ERR_NULLHANDLE - Specified handle was a null
pointer.
Example 1 /****************************************
*********
2*
3 * FUNCTION: vst_create_mount_criteria
4*
5 * PURPOSE:
6 * This function creates the mount
criteria group handle
7 * and sets the values in it according to
user input.
8*
9 * PARAMETERS: