maint: distinguish EOVERFLOW vs ERANGE better
[coreutils.git] / src / cksum.h
blob58e9310b9d6ba6933d6f266298aae582a0e3bccb
1 #ifndef __CKSUM_H__
2 # define __CKSUM_H__
4 extern bool cksum_debug;
6 extern int
7 crc_sum_stream (FILE *stream, void *resstream, uintmax_t *length);
9 extern void
10 output_crc (char const *file, int binary_file, void const *digest, bool raw,
11 bool tagged, unsigned char delim, bool args, uintmax_t length)
12 _GL_ATTRIBUTE_NONNULL ((3));
14 extern bool
15 cksum_pclmul (FILE *fp, uint_fast32_t *crc_out, uintmax_t *length_out);
17 extern uint_fast32_t const crctab[8][256];
19 #endif