summaryrefslogtreecommitdiff
path: root/include/crc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crc.h')
-rw-r--r--include/crc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/crc.h b/include/crc.h
index 5085d4ed47..216a172b48 100644
--- a/include/crc.h
+++ b/include/crc.h
@@ -66,4 +66,9 @@ cyg_ether_crc32_accumulate(uint32_t crc, unsigned char *s, int len);
extern uint16_t cyg_crc16(unsigned char *s, int len);
+
+/* CRC calculate for btrfs file-system*/
+
+u32 crc32c_cal(u32 crc, const char *data, size_t length);
+
#endif /* _SERVICES_CRC_CRC_H_ */