PyramidInfos* tsmGetPyramidInfos (TsmHandle *tsmh, int numPyramidNames, char const **pyramidNames)

Retrieve the server group info for mulitple pyramids

Documentation

Retrieve the server group info for mulitple pyramids.

On the DPSS, a given pyramid can have its data distributed across many groups of master/servers. The PyramidInfo structure holds all of the server group information for a given pyramid. (N.B. For protocols other than the DPSS, the number of server groups will be 1.)

This function returns all of the server information for a number of different pyramids. You pass in an array of pyramid URLs, and this function will effectively call tsmGetPyramidInfo for each of those URLS. The results are returned as a PyramidInfos structure which is just an array of PyramidInfo structures (see tsmDecs.h).

Returns:
the pyramids' information, or NULL if failed
Parameters:
tsmh - the TSM session handle
numPyramidNames - the number of pyramid URLs being passed
pyramidNames - the array of pyramid numPyramidNames URLs
See Also:
tsmGetPyramidInfo, tsmGetAllPyramidInfos, tsmPrintPyramidInfos, PyramidInfos


TSMAPI_RELEASE 2.1 - Release Date: 2001/01/10 19:01:12

Back to tsmApi Home Page