mirror of
https://github.com/depp/syncfiles.git
synced 2024-11-22 03:30:57 +00:00
3f6acc9f42
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.
13 lines
386 B
C
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
|