diff options
Diffstat (limited to '')
-rw-r--r-- | src/common/sctp_crc32.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/common/sctp_crc32.h b/src/common/sctp_crc32.h new file mode 100644 index 000000000..92d20bcb7 --- /dev/null +++ b/src/common/sctp_crc32.h @@ -0,0 +1,14 @@ +#ifndef CEPH_COMMON_SCTP_CRC32_H +#define CEPH_COMMON_SCTP_CRC32_H + +#ifdef __cplusplus +extern "C" { +#endif + +extern uint32_t ceph_crc32c_sctp(uint32_t crc, unsigned char const *data, unsigned length); + +#ifdef __cplusplus +} +#endif + +#endif |