]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - include/crc32.h
libmount: don't use sscanf() for swaps parsing
[thirdparty/util-linux.git] / include / crc32.h
index b454be9fc55e8a9658a8337ed08e024301be8b4b..2551f50de1fa3a6154181b9568723654a0673564 100644 (file)
@@ -1,9 +1,12 @@
 #ifndef UL_NG_CRC32_H
 #define UL_NG_CRC32_H
 
+#include <sys/types.h>
 #include <stdint.h>
 
-extern uint32_t crc32(uint32_t seed, const unsigned char *buf, size_t len);
+extern uint32_t ul_crc32(uint32_t seed, const unsigned char *buf, size_t len);
+extern uint32_t ul_crc32_exclude_offset(uint32_t seed, const unsigned char *buf, size_t len,
+                                             size_t exclude_off, size_t exclude_len);
 
 #endif