crc32.c File Reference

#include
#include
#include "crc32.h"

Go to the source code of this file.


Defines

#define  FAR
#define  local   static
#define  BYFOUR
#define  TBLS   1
#define  DO1   crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
#define  DO8   DO1; DO1; DO1; DO1; DO1; DO1; DO1; DO1

Functions

unsigned long  crc32 (unsigned long crc, const unsigned char *buf, unsigned int len)

Define Documentation

#define BYFOUR

Definition at line 24 of file crc32.c.

#define DO1   crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)

Definition at line 495 of file crc32.c.

#define DO8   DO1; DO1; DO1; DO1; DO1; DO1; DO1; DO1

Definition at line 496 of file crc32.c.

#define FAR

Definition at line 15 of file crc32.c.

#define local   static

Definition at line 19 of file crc32.c.

#define TBLS   1

Definition at line 50 of file crc32.c.


Function Documentation

unsigned long crc32 ( unsigned long  crc,
const unsigned char *  buf,
unsigned int  len  
)

Definition at line 499 of file crc32.c.


Generated on Sun Oct 12 01:45:31 2008 for NNTPGrab by  1.5.4