Subversion Repositories SvarDOS

Rev

Rev 219 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
219 mateuszvis 1
/*
2
 * $Id: crc32.h,v 1.1.1.1 1996/02/18 21:38:11 ylo Exp $
3
 * $Log: crc32.h,v $
4
 * Revision 1.1.1.1  1996/02/18 21:38:11  ylo
5
 *     Imported ssh-1.2.13.
6
 *
7
 * Revision 1.2  1995/07/13  01:21:45  ylo
8
 *     Removed "Last modified" header.
9
 *     Added cvs log.
10
 *
11
 * $Endlog$
12
 */
13
 
14
#ifndef CRC32_H_SENTINEL
15
#define CRC32_H_SENTINEL
16
 
17
unsigned long crc32_init(void);
18
 
19
/* This computes a 32 bit CRC of the data in the buffer, and returns the
20
   CRC.  The polynomial used is 0xedb88320. */
21
void crc32_feed(unsigned long *crc32val, const unsigned char *buf, unsigned int len);
22
 
23
void crc32_finish(unsigned long *crc32val);
24
 
25
#endif /* CRC32_H_SENTINEL */