12345678910111213141516171819202122 |
- #ifndef __CRC32_H__
- #define __CRC32_H__
- #pragma once
- #include "config.h"
- #include <winpr/wtypes.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- // from zlib library
- TOOLKIT_API unsigned long crc32(unsigned long crc, const unsigned char *buf, unsigned int len);
- TOOLKIT_API unsigned long crc32_combine(unsigned long crc1, unsigned long crc2, unsigned int len2);
- TOOLKIT_API unsigned long crc32_combine64(unsigned long crc1, unsigned long crc2, __int64 len2);
- #ifdef __cplusplus
- } // extern "C" {
- #endif
- #endif //__CRC32_H__
|