dd: synchronize output after write errors
[coreutils.git] / src / cksum.h
blob28d72ee2475f7d57a0e3c859c3a7334f5e1a94e2
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,
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