Header And Logo

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

crc32.h

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