File: crc32file.h

package info (click to toggle)
mmorph 2.3.4.2-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 912 kB
  • ctags: 904
  • sloc: ansic: 5,009; yacc: 1,211; lex: 417; makefile: 296; sh: 48; sed: 34; csh: 26
file content (16 lines) | stat: -rw-r--r-- 286 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef CRC32FILE_H
#define CRC32FILE_H

typedef struct {
    unsigned long c;
    unsigned char len[8];
}           crc32file;

#define CRC32FILE_HASHLEN 4

extern void crc32file_clear();
extern void crc32file_add();
extern void crc32file_addn();
extern void crc32file_hash();

#endif