73 #define eaarlio_edb_record_empty() \ 74 (struct eaarlio_edb_record) \ 104 #define eaarlio_edb_empty() \ 105 (struct eaarlio_edb) \ uint8_t digitizer
Digitizer used: 0 or 1.
Definition: edb.h:65
eaarlio_error eaarlio_edb_write(struct eaarlio_stream *stream, struct eaarlio_edb const *edb)
Write an EDB file.
eaarlio_error
Definition: error.h:16
uint32_t record_count
Number of records in eaarlio_edb::records.
Definition: edb.h:87
int16_t file_index
Index into eaarlio_edb::files for this record's TLD file.
Definition: edb.h:59
EDB index data.
Definition: edb.h:85
uint8_t pulse_count
Number of pulses in this raster.
Definition: edb.h:62
uint32_t time_seconds
Integer seconds component of timestamp.
Definition: edb.h:43
char ** files
Names of the TLD files.
Definition: edb.h:96
eaarlio_error eaarlio_edb_read(struct eaarlio_stream *stream, struct eaarlio_edb *edb, struct eaarlio_memory *memory, int include_records, int include_files)
Read an entire EDB file.
eaarlio_error eaarlio_edb_free(struct eaarlio_edb *edb, struct eaarlio_memory *memory)
Free memory allocated to fields in eaarlio_edb.
Memory handler structure.
Definition: memory.h:41
Stream interface for working with files.
Error codes and handling.
uint32_t file_count
Number of files in eaarlio_edb::files.
Definition: edb.h:90
struct eaarlio_edb_record * records
Record entries for the TLD rasters.
Definition: edb.h:93
EDB record.
Definition: edb.h:37
uint32_t time_fraction
Fractional seconds component of timestamp.
Definition: edb.h:50
uint32_t record_offset
Byte offset in TLD file to this record.
Definition: edb.h:53
uint32_t record_length
Byte length of this record (including the header)
Definition: edb.h:56
Stream interface.
Definition: stream.h:47