⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fcs.h

📁 计算文件hash值的源代码
💻 H
字号:
/*
	---------------------------------------------------------------------------
	Copyright (c) 2003, Dominik Reichl <dominik.reichl@t-online.de>, Germany.
	All rights reserved.

	Distributed under the terms of the GNU General Public License v2.

	This software is provided 'as is' with no explicit or implied warranties
	in respect of its properties, including, but not limited to, correctness 
	and/or fitness for purpose.
	---------------------------------------------------------------------------
*/

#ifndef ___FCS_16_H___
#define ___FCS_16_H___

void fcs16_init(unsigned short *uFcs16);
void fcs16_update(unsigned short *uFcs16, unsigned char *pBuffer, unsigned long uBufSize);
void fcs16_final(unsigned short *uFcs16);

void fcs32_init(unsigned long *uFcs32);
void fcs32_update(unsigned long *uFcs32, unsigned char *pBuffer, unsigned long uBufSize);
void fcs32_final(unsigned long *uFcs32);

#endif // ___FCS_16_H___

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -