PostgreSQL Source Code  git master
crc32.h
Go to the documentation of this file.
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(const 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
unsigned int ltree_crc32_sz(const char *buf, int size)
Definition: crc32.c:24
static char * buf
Definition: pg_test_fsync.c:73
static pg_noinline void Size size
Definition: slab.c:607