]> git.ipfire.org Git - thirdparty/util-linux.git/blame - include/crc32c.h
Merge branch 'ci/cache-openwrt-sdk' of https://github.com/t-8ch/util-linux
[thirdparty/util-linux.git] / include / crc32c.h
CommitLineData
faeb1b64
KZ
1/*
2 * No copyright is claimed. This code is in the public domain; do with it what
3 * you wish.
4 */
3279b4a4
KZ
5#ifndef UL_CRC32C_H
6#define UL_CRC32C_H
277e777f
JG
7
8#include <sys/types.h>
9#include <stdint.h>
10
11extern uint32_t crc32c(uint32_t crc, const void *buf, size_t size);
2598e25f
JL
12extern uint32_t ul_crc32c_exclude_offset(uint32_t crc, const unsigned char *buf,
13 size_t size, size_t exclude_off,
14 size_t exclude_len);
15
277e777f 16
3279b4a4 17#endif /* UL_CRC32C_H */