X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Fcommon%2Fcrc32c_ppc.h;fp=src%2Fceph%2Fsrc%2Fcommon%2Fcrc32c_ppc.h;h=18021638f72a84de5012944b7f67482161cf5213;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/common/crc32c_ppc.h b/src/ceph/src/common/crc32c_ppc.h new file mode 100644 index 0000000..1802163 --- /dev/null +++ b/src/ceph/src/common/crc32c_ppc.h @@ -0,0 +1,22 @@ +/* Copyright (C) 2017 International Business Machines Corp. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + */ +#ifndef CEPH_COMMON_CRC32C_PPC_H +#define CEPH_COMMON_CRC32C_PPC_H + +#ifdef __cplusplus +extern "C" { +#endif + +extern uint32_t ceph_crc32c_ppc(uint32_t crc, unsigned char const *buffer, unsigned len); + +#ifdef __cplusplus +} +#endif + +#endif