More sensible character_octet_length
[PostgreSQL.git] / contrib / ltree / crc32.h
blob6473d3b4fd87a3e758f6570cb16281b284633511
1 #ifndef _CRC32_H
2 #define _CRC32_H
4 /* $PostgreSQL$ */
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))
12 #endif