/*********************************************************************************************************************************** CRC-32 Calculation CRC-32 and CRC-32C calculations required to validate the integrity of pg_control. ***********************************************************************************************************************************/ #ifndef POSTGRES_INTERFACE_CRC32_H #define POSTGRES_INTERFACE_CRC32_H #include #include /*********************************************************************************************************************************** Functions ***********************************************************************************************************************************/ // Generate CRC-32C checksum FN_EXTERN uint32_t crc32cOne(const unsigned char *data, size_t size); #endif