API Guide
2-422 API Functions 601355 Rev A
VS_Table_Get
Fields VS_Table_GetFields retrieves information associated
with a table handle. A table handle is used to pass table
information to and from VolServ.
Synopsis VST_BOOLEAN VS_Table_GetFields
(VST_TABLE_HANDLE handle,
“…”,
VSID_ENDFIELD)
Arguments handle = Table handle where information is retrieved.
“…” = Variable length argument list consisting of pairs of
arguments. Each pair of arguments consists of a parameter
identifier, followed by a pointer to a location where the
value of the parameter may be stored. The parameter
identifiers and types this function accepts are shown in the
following "Parameters" paragraph.
VSID_ENDFIELD = Required at the end of the variable
length argument list to indicate the end of the list.
Parame ters
Parameter Type Description
VSID_NUMBER_ENTRIES (int *) Pointer to the number of entr ies in the table.
VSID_TABLE_ENTRY (int) Index of a specific entry in the table.
(void **) Pointer to a specific entry in the table.