syncfiles/lib/crc32.h
Dietrich Epp 3f6acc9f42 Use more modern C
While C99 is not supported by old Mac OS compilers, line comments are
supported. Keeping strictly to old C90 style code is annoying without
benefit.
2022-04-21 13:57:17 -04:00

13 lines
386 B
C

// 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
#include "lib/defs.h"
// Incrementally calculate a CRC32. This is the same CRC32 used by Gzip.
UInt32 CRC32Update(UInt32 crc, const void *ptr, Size size);
#endif