import of ftp.dlink.com/GPL/DSMG-600_reB/ppclinux.tar.gz
[linux-2.4.21-pre4.git] / drivers / net / wan / 8253x / crc32dcl.h
1 /* -*- linux-c -*- */
2 /*
3  * Copyright (C) 2001 By Joachim Martillo, Telford Tools, Inc.
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License
7  * as published by the Free Software Foundation; either version
8  * 2 of the License, or (at your option) any later version.
9  *
10  */
11
12 /****************************************************/
13 /****************************************************/
14 /*          Begin source file "crc32dcl.h"          */
15 /****************************************************/
16 /****************************************************/
17
18 #if !defined(_CRC32_HP_)
19 #define _CRC32_HP_
20
21 /****************************************************/
22 /*                  header files                    */
23 /****************************************************/
24
25 #include "crc32.h"
26
27 /****************************************************/
28 /*          global procedure prototypes             */
29 /****************************************************/
30
31 extern void     fn_init_crc_table(void);
32 extern unsigned int     fn_calc_memory_chunk_crc32(void *p, unsigned int n_bytes, unsigned int crc);
33 extern unsigned int     fn_calc_memory_crc32(void *p, unsigned int n_bytes);
34 extern unsigned int     fn_check_memory_crc32(void *p, unsigned int n_bytes, unsigned int crc);
35
36 extern unsigned int gg_a_crc_table[];
37
38
39 #endif
40
41 /****************************************************/
42 /****************************************************/
43 /*          End source file "crc32dcl.h"                    */
44 /****************************************************/
45 /****************************************************/