|
unsigned long long | crc64 (const unsigned char *data, unsigned int length, unsigned long long crc) |
|
static void | swap2 (char *location) |
|
static void | swap4 (char *location) |
|
static void | swap8 (char *location) |
|
static int | validate_sizes (void) |
|
static int | validate_version (double version) |
|
const char * | SFTErrorMessage (int errorcode) |
|
int | WriteSFT (FILE *fp, int gps_sec, int gps_nsec, double tbase, int firstfreqindex, int nsamples, const char *detector, unsigned short windowspec, const char *comment, float *data) |
|
int | ReadSFTHeader (FILE *fp, struct headertag2 *info, char **comment, int *swapendian, int validate) |
|
int | ReadSFTData (FILE *fp, float *data, int firstbin, int nsamples, char **comment, struct headertag2 *info) |
|
int | CheckSFTHeaderConsistency (struct headertag2 *headerone, struct headertag2 *headertwo) |
|
int | unknownDetector (const char *detector) |
|
int | ValidateSFTFile (const char *fname) |
| Verify that the contents of a SFT file are valid. More...
|
|
Go to the source code of this file.
◆ POLY64
#define POLY64 0xd800000000000000ULL |
◆ TABLELEN
◆ BLOCKSIZE
◆ crc64()
unsigned long long crc64 |
( |
const unsigned char * |
data, |
|
|
unsigned int |
length, |
|
|
unsigned long long |
crc |
|
) |
| |
◆ swap2()
static void swap2 |
( |
char * |
location | ) |
|
|
static |
◆ swap4()
static void swap4 |
( |
char * |
location | ) |
|
|
static |
◆ swap8()
static void swap8 |
( |
char * |
location | ) |
|
|
static |
◆ validate_sizes()
static int validate_sizes |
( |
void |
| ) |
|
|
static |
◆ validate_version()
static int validate_version |
( |
double |
version | ) |
|
|
static |