aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-26 22:31:55 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-28 16:33:57 +0200
commit0f1bedc90f4cb71d965e99446cf3e72a45909346 (patch)
tree51da6f4ee75cffa160598b5425851a2cc5452933 /include
parent68591ef78ceefb9a37eb1744be73e646f63e450b (diff)
Add utility function to compute crc32 check sums
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r--include/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h
index 0c36160..2d5d521 100644
--- a/include/util.h
+++ b/include/util.h
@@ -76,4 +76,6 @@ int popd(void);
*/
int padd_file(int outfd, uint64_t size, size_t blocksize);
+uint32_t update_crc32(uint32_t crc, const void *data, size_t size);
+
#endif /* UTIL_H */