📄 checksum.h
字号:
/*
* Copyright (C) Obigo AB, 2002-2005.
* All rights reserved.
*
* This software is covered by the license agreement between
* the end user and Obigo AB, and may be
* used and copied only in accordance with the terms of the
* said agreement.
*
* Obigo AB assumes no responsibility or
* liability for any errors or inaccuracies in this software,
* or any consequential, incidental or indirect damage arising
* out of the use of the software.
*
*/
#ifndef _CHECKSUM_H
#define _CHECKSUM_H
#define CHECKSUM_SIZE 3
UINT8 chksumCalc8(void *buf, INT32 len);
UINT32 chksumCalc32(void *buf, UINT32 len);
int cfilCalculateChecksum(UINT32 fileId, INT32 len, char category);
CMN_BOOL cfilStoreCheckSum(UINT32 fileId, CMN_BOOL fileOpen, char category);
CMN_BOOL cfilVerifyCheckSum(UINT32 fileId, CMN_BOOL fileOpen, char category);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -