2019-04-18 17:51:19 +00:00
|
|
|
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
2017-08-31 21:02:06 +00:00
|
|
|
// Copyright (c) 2017 International Business Machines Corp.
|
|
|
|
// All rights reserved.
|
2019-05-21 23:19:39 +00:00
|
|
|
// This source code is licensed under both the GPLv2 (found in the
|
|
|
|
// COPYING file in the root directory) and Apache 2.0 License
|
|
|
|
// (found in the LICENSE.Apache file in the root directory).
|
2017-08-31 21:02:06 +00:00
|
|
|
|
2018-09-06 01:07:53 +00:00
|
|
|
#pragma once
|
2017-08-31 21:02:06 +00:00
|
|
|
|
2021-09-10 16:59:05 +00:00
|
|
|
#include <cstddef>
|
|
|
|
#include <cstdint>
|
|
|
|
|
2017-08-31 21:02:06 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2024-01-29 18:38:08 +00:00
|
|
|
uint32_t crc32c_ppc(uint32_t crc, unsigned char const *buffer, size_t len);
|
2017-08-31 21:02:06 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|