ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/crc32.h
(Generate patch)

Comparing Convert-UUlib/uulib/crc32.h (file contents):
Revision 1.1 by root, Sun Oct 13 13:10:17 2002 UTC vs.
Revision 1.2 by root, Sun Apr 18 14:48:53 2004 UTC

13extern "C" { 13extern "C" {
14#endif 14#endif
15 15
16typedef unsigned long crc32_t; 16typedef unsigned long crc32_t;
17#define Z_NULL 0 17#define Z_NULL 0
18
19#define crc32 uulib_crc32
18 20
19crc32_t crc32 _ANSI_ARGS_((crc32_t crc, const unsigned char *buf, unsigned int len)); 21crc32_t crc32 _ANSI_ARGS_((crc32_t crc, const unsigned char *buf, unsigned int len));
20/* 22/*
21 Update a running crc with the bytes buf[0..len-1] and return the updated 23 Update a running crc with the bytes buf[0..len-1] and return the updated
22 crc. If buf is NULL, this function returns the required initial value 24 crc. If buf is NULL, this function returns the required initial value

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines