1 #ifndef _CRC32_H 2 #define _CRC32_H 3 4 /* contrib/ltree/crc32.h */ 5 6 /* Returns crc32 of data block */ 7 extern unsigned int ltree_crc32_sz(char *buf, int size); 8 9 /* Returns crc32 of null-terminated string */ 10 #define crc32(buf) ltree_crc32_sz((buf),strlen(buf)) 11 12 #endif 13