mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-24 01:29:19 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			314 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			314 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * $PostgreSQL: pgsql/contrib/hstore/crc32.h,v 1.3 2009/06/11 14:48:51 momjian Exp $
 | |
|  */
 | |
| #ifndef _CRC32_H
 | |
| #define _CRC32_H
 | |
| 
 | |
| /* Returns crc32 of data block */
 | |
| extern unsigned int crc32_sz(char *buf, int size);
 | |
| 
 | |
| /* Returns crc32 of null-terminated string */
 | |
| #define crc32(buf) crc32_sz((buf),strlen(buf))
 | |
| 
 | |
| #endif
 |