checksum.h
来自「彩信MMS的全部代码」· C头文件 代码 · 共 83 行
H
83 行
/*
* 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 + =
减小字号Ctrl + -
显示快捷键?