]> git.ipfire.org Git - thirdparty/util-linux.git/blame - include/crc32c.h
Merge branch 'PR/sfdisk-discard' of https://github.com/karelzak/util-linux-work
[thirdparty/util-linux.git] / include / crc32c.h
CommitLineData
faeb1b64 1/*
3ce8e121
KZ
2 * No copyright is claimed. This code is in the public domain; do with
3 * it what you wish.
faeb1b64 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 */