void tsmPrintServerGroup (FILE *stream, ServerGroup *serverGroup, char *leadString)

Display a ServerGroup structure

Documentation

Display a ServerGroup structure.

This function can be used to output a textual description of the contents of a ServerGroup structure. This can be performed to the screen (stream = stdout or stderr), or to a file. You may also supply a leading string to display beforehand.

The ServerGroup structure is contained within the PyramidInfo structure (see tsmDecs.h), which is filled by the tsmGetPyramidInfo function call. ServerGroup holds the (master) host name and server names for a single data server group for a given Pyramid. For the DPSS, a server group is the DPSS master and all of the servers containing the data for the pyramid. Since there is no notion of master and servers for other protocols, other protocols will have numServers equal to 1, and the master and server host names will be the same.

Returns:
Nothing (void)
Parameters:
stream - the stream to write to (e.g. stdout)
serverGroup - the server group structure to output
leadString - a string to output before the server group text
See Also:
tsmGetPyramidInfo, tsmPrintPyramidInfo, ServerGroup


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

Back to tsmApi Home Page