int tsmCalcTileChecksum ( TsmConnection connect, const uchar *tileBuffer )

Calculates the checksum for a single tile buffer

Documentation

Calculates the checksum for a single tile buffer.

This function will take a tile buffer and the connection handle for the dataset it came from. It will then return a checksum calculated from the data in that tile. If an error occurred during the checksum calculation then the function will return a value of TSM_INVALID_CHECKSUM.

Returns:
the tile's checksum (or TSM_INVALID_CHECKSUM if error)
Parameters:
connection - the connection handle for the tile's dataset
tileBuffer - the tile buffer to be checksummed
Author:
Martin Reddy
Version:
10 March 1998
See Also:


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

Back to tsmApi Home Page