postgresql/contrib/tsearch2/crc32.h
2003-07-21 10:27:44 +00:00

11 lines
222 B
C

#ifndef _CRC32_H
#define _CRC32_H
/* Returns crc32 of data block */
extern unsigned int crc32_sz(char *buf, int size);
/* Returns crc32 of null-terminated string */
#define crc32(buf) crc32_sz((buf),strlen(buf))
#endif