2019-04-18 10:51:19 -07:00
|
|
|
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
2017-08-31 14:02:06 -07:00
|
|
|
// Copyright (c) 2017 International Business Machines Corp.
|
|
|
|
// All rights reserved.
|
2019-05-21 16:19:39 -07: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 14:02:06 -07:00
|
|
|
|
2018-09-05 18:07:53 -07:00
|
|
|
#pragma once
|
2017-08-31 14:02:06 -07:00
|
|
|
|
2021-09-10 09:59:05 -07:00
|
|
|
#include <cstddef>
|
|
|
|
#include <cstdint>
|
|
|
|
|
2017-08-31 14:02:06 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern uint32_t crc32c_ppc(uint32_t crc, unsigned char const *buffer,
|
2020-12-01 11:20:10 -08:00
|
|
|
size_t len);
|
2017-08-31 14:02:06 -07:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|