API Guide
601355 Rev A API Functions 2-437
Functions
VS_
Type Capacity
_Create
VS_TypeCapacity_Create allocates a VolServ API
archive type capacity handle. A type capacity handle is used to
pass archive type capacity information from VolServ in
response to an Archive Query command request with the type
capacity option specified.
Synopsis VST_TYPECAPACITY_HANDLE VS_TypeCapacity_Create
(void)
Arguments
None
Return Values VS_TypeCapacity_Create returns:
A type capacity handle, if one can be allocated.
NULL, if a type capacity handle could not be allocated. An
appropriate error code is set in VSG_Error.
VSE_ERR_OUTOFMEM - Memory allocation error.
Example 1 /****************************************
*********
2*
3 * FUNCTION: vst_typecapacity_handle
4*
5 * PURPOSE:
6 * This function tests a typecapacity
handle.
7*
8 * PARAMETERS:
9 * none
10 *
11 ****************************************
**********/
12 #ifdef ANSI_C