(root)/
util-linux-2.39/
include/
crc32.h
       1  /*
       2   * No copyright is claimed. This code is in the public domain; do with it what
       3   * you wish.
       4   */
       5  #ifndef UL_CRC32_H
       6  #define UL_CRC32_H
       7  
       8  #include <sys/types.h>
       9  #include <stdint.h>
      10  
      11  extern uint32_t ul_crc32(uint32_t seed, const unsigned char *buf, size_t len);
      12  extern uint32_t ul_crc32_exclude_offset(uint32_t seed, const unsigned char *buf, size_t len,
      13  		                              size_t exclude_off, size_t exclude_len);
      14  
      15  #endif
      16