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
ltree_crc32_sz
unsigned int ltree_crc32_sz(const char *buf, int size)
Definition:
crc32.c:24
buf
static char * buf
Definition:
pg_test_fsync.c:73
size
static pg_noinline void Size size
Definition:
slab.c:607
contrib
ltree
crc32.h
Generated on Wed Oct 16 2024 00:13:14 for PostgreSQL Source Code by
1.9.1