syncfiles/lib/crc32.h

13 lines
386 B
C
Raw Normal View History

// Copyright 2022 Dietrich Epp.
// This file is part of SyncFiles. SyncFiles is licensed under the terms of the
// Mozilla Public License, version 2.0. See LICENSE.txt for details.
#ifndef LIB_CRC32_H
#define LIB_CRC32_H
2022-04-10 07:37:14 +00:00
#include "lib/defs.h"
// Incrementally calculate a CRC32. This is the same CRC32 used by Gzip.
2022-04-10 07:37:14 +00:00
UInt32 CRC32Update(UInt32 crc, const void *ptr, Size size);
#endif