LMMS
Loading...
Searching...
No Matches
crc32.h File Reference

Go to the source code of this file.

Macros

#define __crc32_h   /* identifies this source module */
#define OF(a)
#define ZCONST   const
#define CRC_32_TAB   crc_32_tab
#define CRC32UPD(c, crctab)
#define CRC32(c, b, crctab)
#define REV_BE(w)

Functions

ZCONST ulg near *get_crc_table OF ((void))
ulg crc32 OF ((ulg crc, ZCONST uch *buf, extent len))

Macro Definition Documentation

◆ __crc32_h

#define __crc32_h   /* identifies this source module */

◆ CRC32

#define CRC32 ( c,
b,
crctab )
Value:
(crctab[((int)(c) ^ (b)) & 0xff] ^ ((c) >> 8))
return c
Definition crypt.c:175
b
Definition crypt.c:628
typedef int(UZ_EXP MsgFn)()

◆ CRC32UPD

#define CRC32UPD ( c,
crctab )
Value:
(crctab[((int)(c)) & 0xff] ^ ((c) >> 8))

◆ CRC_32_TAB

#define CRC_32_TAB   crc_32_tab

◆ OF

#define OF ( a)
Value:
uint8_t a
Definition Spc_Cpu.h:141

◆ REV_BE

#define REV_BE ( w)
Value:
UINT_D64 w
Definition inflate.c:942

◆ ZCONST

#define ZCONST   const

Function Documentation

◆ OF() [1/2]

ulg crc32 OF ( (ulg crc, ZCONST uch *buf, extent len) )

◆ OF() [2/2]