1 // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. 2 // Copyright (c) 2017 International Business Machines Corp. 3 // All rights reserved. 4 // This source code is licensed under both the GPLv2 (found in the 5 // COPYING file in the root directory) and Apache 2.0 License 6 // (found in the LICENSE.Apache file in the root directory). 7 8 #pragma once 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 extern uint32_t crc32c_ppc(uint32_t crc, unsigned char const *buffer, 15 unsigned len); 16 17 #ifdef __cplusplus 18 } 19 #endif 20