mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
538 B
25 lines
538 B
/*** checksum.h - Definitions for Checksum Manager
|
|
*
|
|
* Author:
|
|
* Benjamin W. Slivka
|
|
*
|
|
* History:
|
|
* 15-Aug-1993 bens Initial version.
|
|
*/
|
|
|
|
#ifndef INCLUDED_CHECKSUM
|
|
#define INCLUDED_CHECKSUM 1
|
|
|
|
|
|
/*** CSUMCompute - Compute checksum of a data block
|
|
*
|
|
* Entry:
|
|
* pv - block to checksum
|
|
* cb - length of block (in bytes)
|
|
* seed - previous checksum
|
|
*
|
|
* Exit-Success:
|
|
* returns CHECKSUM for block
|
|
*/
|
|
CHECKSUM CSUMCompute(void *pv, UINT cb, CHECKSUM seed);
|
|
#endif // !INCLUDED_CHECKSUM
|