4 /* $PostgreSQL: pgsql/contrib/ltree/crc32.h,v 1.3 2006/03/11 04:38:29 momjian Exp $ */
6 /* Returns crc32 of data block */
7 extern unsigned int ltree_crc32_sz(char *buf, int size);
9 /* Returns crc32 of null-terminated string */
10 #define crc32(buf) ltree_crc32_sz((buf),strlen(buf))