mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-22 03:43:22 +02:00
14 lines
255 B
C
14 lines
255 B
C
/*
|
|
* contrib/hstore/crc32.h
|
|
*/
|
|
#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
|