Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

crc32.c File Reference

#include "zutil.h"
#include "crc32.h"

Defines

#define local   static
#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

const unsigned long FAR *ZEXPORT get_crc_table ()
unsigned long ZEXPORT crc32 (crc, buf, len) unsigned long crc

Variables

const unsigned char FAR * buf
unsigned len

Define Documentation

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

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

#define local   static
 

#define TBLS   1
 


Function Documentation

unsigned long ZEXPORT crc32 crc   ,
buf   ,
len   
 

const unsigned long FAR* ZEXPORT get_crc_table  
 


Variable Documentation

const unsigned char FAR* buf
 

unsigned len
 


Generated on Wed Nov 3 12:59:10 2004 for Lemur Toolkit by doxygen1.2.18