1 /******************************************************************************
2 *
3 * Copyright (C) 2006, The Gentee Group. All rights reserved.
4 * This file is part of the Gentee open source project - http://www.gentee.com.
5 *
6 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE GENTEE LICENSE ("AGREEMENT").
7 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE CONSTITUTES RECIPIENTS
8 * ACCEPTANCE OF THE AGREEMENT.
9 *
10 * ID: crc 18.10.06 0.0.A.
11 *
12 * Author: Alexey Krivonogov
13 *
14 * Summary: This file provides calculating CRC32.
15 *
16 ******************************************************************************/
17
18 #ifndef _CRC_
19 #define _CRC_
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif // __cplusplus
24
25 //--------------------------------------------------------------------------
26
27 #include "types.h"
28
29 void STDCALL crc_init( void );
30 uint STDCALL crc( pubyte data, uint size, uint seed );
31
32 //--------------------------------------------------------------------------
33
34 #ifdef __cplusplus
35 }
36 #endif // __cplusplus
37
38 #endif // _CRC_
39
Редактировать