repo.or.cz
/
PostgreSQL.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Start background writer during archive recovery. Background writer now performs
[PostgreSQL.git]
/
contrib
/
ltree
/
crc32.h
blob
6473d3b4fd87a3e758f6570cb16281b284633511
1
#ifndef _CRC32_H
2
#define _CRC32_H
3
4
/* $PostgreSQL$ */
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