ACE_crc32.cpp File Reference

#include "ace/ACE.h"

Include dependency graph for ACE_crc32.cpp:


Defines

#define COMPUTE(var, ch)   (var) = (crc_table[(var ^ ch) & 0xFF] ^ (var >> 8))

Functions

ACE_Export ACE_UINT32 ACE::crc32 (const char *str)
 Computes the ISO 8802-3 standard 32 bits CRC for the string.
ACE_Export ACE_UINT32 ACE::crc32 (const void *buf, size_t len, ACE_UINT32 crc=0)
 Computes the ISO 8802-3 standard 32 bits CRC for the buffer.
ACE_Export ACE_UINT32 ACE::crc32 (const iovec *iov, int len, ACE_UINT32 crc=0)

Variables

const ACE_UINT32 crc_table []

Define Documentation

#define COMPUTE ( var,
ch   )     (var) = (crc_table[(var ^ ch) & 0xFF] ^ (var >> 8))


Variable Documentation

const ACE_UINT32 crc_table[] [static]


Generated on Wed Apr 23 02:10:15 2008 for ACE by  doxygen 1.5.5