Header And Logo

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

crc32.h

Go to the documentation of this file.
00001 #ifndef _CRC32_H
00002 #define _CRC32_H
00003 
00004 /* contrib/ltree/crc32.h */
00005 
00006 /* Returns crc32 of data block */
00007 extern unsigned int ltree_crc32_sz(char *buf, int size);
00008 
00009 /* Returns crc32 of null-terminated string */
00010 #define crc32(buf) ltree_crc32_sz((buf),strlen(buf))
00011 
00012 #endif