int tsmValidateTspec ( Pyramid *tspec )

Validate a tspec structure loaded from disk

Documentation

Validate a tspec structure loaded from disk.

This function will take a Pyramid structure (for example, as returned by tsmReadTspec) and will do various checks to ensure that the fields in the structure are valid. This routine may help to throw up some hints or solutions to some dataset problems.

The following checks are currently performed (with an error message and a return code of FALSE resulting if any one check fails):

Returns:
TRUE if tspec is valid, FALSE if it failed a validity test
Parameters:
tspec - a (hopefully) valid Pyramid structure
Author:
Martin Reddy
Version:
16 March 1998
See Also:
tsmReadTspec


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

Back to tsmApi Home Page