F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
Classes | |
class | Hash |
A generic interface for creating and comparing hash values. More... | |
class | HashBuffer |
A container class for holding a hash buffer. More... | |
class | RateLimiter |
class | TokenBucket |
Enumerations | |
enum | crc_stat_t { PASSED_FILE_CRC_CHECK = 0 , PASSED_FILE_CRC_WRITE , FAILED_FILE_SIZE , FAILED_FILE_SIZE_CAST , FAILED_FILE_OPEN , FAILED_FILE_READ , FAILED_FILE_CRC_OPEN , FAILED_FILE_CRC_READ , FAILED_FILE_CRC_WRITE , FAILED_FILE_CRC_CHECK } |
Functions | |
crc_stat_t | create_checksum_file (const char *const fname) |
crc_stat_t | read_crc32_from_file (const char *const fname, U32 &checksum_from_file) |
crc_stat_t | verify_checksum (const char *const fname, U32 &expected, U32 &actual) |
Variables | |
static const NATIVE_INT_TYPE | CRC_FILE_READ_BLOCK = 2048 |
static const U32 | CRC_MAX_FILENAME_SIZE = 128 |
enum Utils::crc_stat_t |
Definition at line 22 of file CRCChecker.hpp.
crc_stat_t Utils::create_checksum_file | ( | const char *const | fname | ) |
Definition at line 22 of file CRCChecker.cpp.
crc_stat_t Utils::read_crc32_from_file | ( | const char *const | fname, |
U32 & | checksum_from_file | ||
) |
Definition at line 117 of file CRCChecker.cpp.
crc_stat_t Utils::verify_checksum | ( | const char *const | fname, |
U32 & | expected, | ||
U32 & | actual | ||
) |
Definition at line 146 of file CRCChecker.cpp.
|
static |
Definition at line 19 of file CRCChecker.hpp.
|
static |
Definition at line 20 of file CRCChecker.hpp.