PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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(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
static char * buf
Definition: pg_test_fsync.c:66
unsigned int ltree_crc32_sz(char *buf, int size)
Definition: crc32.c:23