diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-06-30 23:56:34 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-06-30 23:56:34 -0700 |
commit | 4e6f86a1ce67142c3f21ac60fdddcbc6fb6c3a22 (patch) | |
tree | 392e2dbf5b7ff1b4ea8f7c2dfe88bb53bbff5ec5 /struct.c | |
parent | f9258408cb85cdc2fecfe19fbd3e5c902bd907ba (diff) | |
download | txr-4e6f86a1ce67142c3f21ac60fdddcbc6fb6c3a22.tar.gz txr-4e6f86a1ce67142c3f21ac60fdddcbc6fb6c3a22.tar.bz2 txr-4e6f86a1ce67142c3f21ac60fdddcbc6fb6c3a22.zip |
crc32: add optional initial crc argument.
This allows a CRC-32 calculation over multiple objects in
multiple steps.
* chksum.c (crc32_stream, crc32_buf, crc32_str, crc32): Take
additional argument.
(chksum_init): Add optional argument to registration of
crc32-stream and crc32 intrinsics.
* chksum.h (crc32_stream, crc32): Declarations updated.
* txr.1: Doc updated; two examples added.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions