File: uac_crc.h

package info (click to toggle)
unace 1.2b-4etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 288 kB
  • ctags: 311
  • sloc: ansic: 1,709; sh: 113; makefile: 86
file content (24 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ------------------------------------------------------------------------ */
/*  ML - 01/2004: changed licence to GPL                                    */
/* ------------------------------------------------------------------------ */  

#ifndef __uac_crc_h
#define __uac_crc_h


#include "declare.h"

#define CRC_MASK 0xFFFFFFFFL
#define CRCPOLY  0xEDB88320L


extern ULONG crctable[256];
extern ULONG rd_crc;


ULONG getcrc(ULONG crc, UCHAR * addr, INT len);
void  make_crctable(void);


#endif /* __uac_crc_h */