crc32dcl.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:2k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  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. /*     Begin source file "crc32dcl.h"     */
  14. /****************************************************/
  15. /****************************************************/
  16. #if !defined(_CRC32_HP_)
  17. #define _CRC32_HP_
  18. /****************************************************/
  19. /*     header files     */
  20. /****************************************************/
  21. #include "crc32.h"
  22. /****************************************************/
  23. /*     global procedure prototypes     */
  24. /****************************************************/
  25. extern void fn_init_crc_table(void);
  26. extern unsigned int fn_calc_memory_chunk_crc32(void *p, unsigned int n_bytes, unsigned int crc);
  27. extern unsigned int fn_calc_memory_crc32(void *p, unsigned int n_bytes);
  28. extern unsigned int fn_check_memory_crc32(void *p, unsigned int n_bytes, unsigned int crc);
  29. extern unsigned int gg_a_crc_table[];
  30. #endif
  31. /****************************************************/
  32. /****************************************************/
  33. /*     End source file "crc32dcl.h"     */
  34. /****************************************************/
  35. /****************************************************/