doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
CRC32.cpp File Reference
#include "../precompiled.h"

Go to the source code of this file.

Macros

#define CRC32_INIT_VALUE   0xffffffffL
 
#define CRC32_XOR_VALUE   0xffffffffL
 

Functions

void CRC32_InitChecksum (unsigned long &crcvalue)
 
void CRC32_Update (unsigned long &crcvalue, const byte data)
 
void CRC32_UpdateChecksum (unsigned long &crcvalue, const void *data, int length)
 
void CRC32_FinishChecksum (unsigned long &crcvalue)
 
unsigned long CRC32_BlockChecksum (const void *data, int length)
 

Macro Definition Documentation

#define CRC32_INIT_VALUE   0xffffffffL

Definition at line 10 of file CRC32.cpp.

#define CRC32_XOR_VALUE   0xffffffffL

Definition at line 11 of file CRC32.cpp.

Function Documentation

unsigned long CRC32_BlockChecksum ( const void data,
int  length 
)

Definition at line 160 of file CRC32.cpp.

void CRC32_FinishChecksum ( unsigned long &  crcvalue)

Definition at line 156 of file CRC32.cpp.

void CRC32_InitChecksum ( unsigned long &  crcvalue)

Definition at line 137 of file CRC32.cpp.

void CRC32_Update ( unsigned long &  crcvalue,
const byte  data 
)

Definition at line 141 of file CRC32.cpp.

void CRC32_UpdateChecksum ( unsigned long &  crcvalue,
const void data,
int  length 
)

Definition at line 145 of file CRC32.cpp.