summaryrefslogtreecommitdiffstats
path: root/private/windows/diamond/chuck/checksum.h
blob: 914defb9eacae58267509b0be37155d00401c5fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/***    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