summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-06-30 23:56:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-06-30 23:56:34 -0700
commit4e6f86a1ce67142c3f21ac60fdddcbc6fb6c3a22 (patch)
tree392e2dbf5b7ff1b4ea8f7c2dfe88bb53bbff5ec5 /struct.c
parentf9258408cb85cdc2fecfe19fbd3e5c902bd907ba (diff)
downloadtxr-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