API Guide
601355 Rev A API Functions 2-407
Functions
VS_Table_
Create
VS_Table_Create allocates a VolServ API table handle. A
table handle is used to pass table information to and from
Vo lSer v.
A table is used to store a group of pointers of the same type
within a single construct (much like an array or a linked list).
Synopsis
VST_TABLE_HANDLE VS_Table_Create
(VST_HANDLE_TYPE type,
int size)
Arguments • type = The type of the pointers to be stored in the table.
Valid TableCreate value types are enumerated in the
vs_types.h file.
• size = The maximum number of entries to stored in the
table.
Return Values
VS_Table_Create returns:
• A table handle, if one can be allocated.
• NULL, if a table handle cannot be allocated. An appropriate
error code is set in VSG_Error.
• VSE_ERR_OUTOFMEM - Memory allocation error.