]>
Commit | Line | Data |
---|---|---|
b1ab9ed8 A |
1 | #ifndef __CRC__ |
2 | #define __CRC__ | |
3 | ||
4 | #include <sys/types.h> | |
5 | ||
6 | #ifdef __cplusplus | |
7 | extern "C" { | |
8 | #endif | |
9 | ||
10 | u_int32_t CalculateCRC(u_int8_t* buffer, size_t length); | |
11 | u_int32_t StagedCRC(u_int32_t initialCRC, u_int8_t* buffer, size_t length); | |
12 | ||
13 | #ifdef __cplusplus | |
14 | }; | |
15 | #endif | |
16 | ||
17 | ||
18 | #endif |