meta_bg feature helper functions
[lwext4.git] / lwext4 / ext4_crc32c.h
index ee42de456f31888d8d8b3cb6d4ce836f86709af8..b2524e8c5c9301070468c08e61d444f89640e2d1 100644 (file)
@@ -33,7 +33,7 @@
  */
 /**
  * @file  ext4_crc32c.h
- * @brief Crc32c routine. tahen from FreeBSD kernel.
+ * @brief Crc32c routine. Taken from FreeBSD kernel.
  */
 
 #ifndef LWEXT4_EXT4_CRC32C_H_
 #include <ext4_config.h>
 #include <stdint.h>
 
+/**@brief      CRC32C algorithm.
+ * @param      crc input feed
+ * @param      buffer input buffer
+ * @param      length input buffer length (bytes)
+ * @return     updated crc32c value*/
 uint32_t ext4_crc32c(uint32_t crc, const void *buffer, uint32_t length);