Header And Logo

PostgreSQL
| The world's most advanced open source database.

checksum.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * checksum.h
00004  *    Checksum implementation for data pages.
00005  *
00006  *
00007  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00008  * Portions Copyright (c) 1994, Regents of the University of California
00009  *
00010  * src/include/storage/checksum.h
00011  *
00012  *-------------------------------------------------------------------------
00013  */
00014 #ifndef CHECKSUM_H
00015 #define CHECKSUM_H
00016 
00017 /*
00018  * Fowler-Noll-Vo 1a block checksum algorithm. The data argument should be
00019  * aligned on a 4-byte boundary.
00020  */
00021 extern uint32 checksum_block(char *data, uint32 size);
00022 
00023 #endif   /* CHECKSUM_H */