viruscrc.h

来自「32-bit 循环冗余校验的 C和PASCAL 应用程序」· C头文件 代码 · 共 38 行

H
38
字号
/*
VIRUSCRC.H

Kevin Dean
Fairview Mall P.O. Box 55074
1800 Sheppard Avenue East
Willowdale, Ontario
CANADA    M2J 5B9
CompuServe ID: 76336,3114

November 16, 1990

	This is the interface to the anti-virus CRC check in VALIDCRC.C and
VIRUSDAT.C.

	This code is public domain.
*/


typedef
  unsigned long crc32_t;

union filecrc
  {
  char searchstr[8];	/* String to search for. */

  struct
    {
    crc32_t polynomial;	/* Polynomial for this file. */
    crc32_t crc;	/* Calculated CRC for this file. */
    } x;
  };


extern const union filecrc _viruscrc;


int isvalidcrc(const char *progname);

⌨️ 快捷键说明

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