F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
CRCChecker.hpp File Reference
#include <FpConfig.hpp>

Go to the source code of this file.

Namespaces

 Utils
 

Enumerations

enum  Utils::crc_stat_t {
  Utils::PASSED_FILE_CRC_CHECK = 0 , Utils::PASSED_FILE_CRC_WRITE , Utils::FAILED_FILE_SIZE , Utils::FAILED_FILE_SIZE_CAST ,
  Utils::FAILED_FILE_OPEN , Utils::FAILED_FILE_READ , Utils::FAILED_FILE_CRC_OPEN , Utils::FAILED_FILE_CRC_READ ,
  Utils::FAILED_FILE_CRC_WRITE , Utils::FAILED_FILE_CRC_CHECK
}
 

Functions

crc_stat_t Utils::create_checksum_file (const char *const fname)
 
crc_stat_t Utils::read_crc32_from_file (const char *const fname, U32 &checksum_from_file)
 
crc_stat_t Utils::verify_checksum (const char *const fname, U32 &expected, U32 &actual)
 

Variables

static const NATIVE_INT_TYPE Utils::CRC_FILE_READ_BLOCK = 2048
 
static const U32 Utils::CRC_MAX_FILENAME_SIZE = 128