Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

crc.h File Reference


Detailed Description

CRC computation.

Author:
Raphael Manfredi
Date:
2003

#include <glib.h>

Go to the source code of this file.

Functions

void crc_init (void)
 Initialize the CRC computations.

guint32 crc32_update_crc (guint32 crc_accum, gconstpointer data, size_t len)
 Update the CRC-32 on the data block one byte at a time.


Function Documentation

guint32 crc32_update_crc guint32  crc_accum,
gconstpointer  data,
size_t  len
 

Update the CRC-32 on the data block one byte at a time.

Parameters:
crc_accum The CRC accumulator, must be initialized to zero.
data The input data for CRC-32 calculation.
len no brief description.

void crc_init void   ) 
 

Initialize the CRC computations.


Generated on Sun Feb 12 10:49:59 2006 for Gtk-Gnutella by doxygen 1.3.6