automotive-dlt
sDltFile Struct Reference

#include <dlt_common.h>

Collaboration diagram for sDltFile:

Data Fields

FILE * handle
 
long * index
 
int32_t counter
 
int32_t counter_total
 
int32_t position
 
long file_length
 
long file_position
 
int32_t error_messages
 
DltFilterfilter
 
int32_t filter_counter
 
DltMessage msg
 

Detailed Description

The structure to organise the access to DLT files. This structure is used by the corresponding functions.

Definition at line 642 of file dlt_common.h.

Field Documentation

int32_t sDltFile::counter

number of messages in DLT file with filter

Definition at line 649 of file dlt_common.h.

Referenced by dlt_file_init(), dlt_file_message(), dlt_file_open(), dlt_file_read(), dlt_file_read_raw(), and main().

int32_t sDltFile::counter_total

number of messages in DLT file without filter

Definition at line 650 of file dlt_common.h.

Referenced by dlt_file_init(), dlt_file_open(), dlt_file_read(), dlt_file_read_raw(), and main().

int32_t sDltFile::error_messages

number of incomplete DLT messages found during file parsing

Definition at line 656 of file dlt_common.h.

Referenced by dlt_file_init(), dlt_file_open(), and dlt_file_read_header_raw().

long sDltFile::file_length

length of the file

Definition at line 652 of file dlt_common.h.

Referenced by dlt_file_open().

long sDltFile::file_position

current position in the file

Definition at line 653 of file dlt_common.h.

Referenced by dlt_file_init(), dlt_file_open(), dlt_file_read(), dlt_file_read_header_raw(), and dlt_file_read_raw().

DltFilter* sDltFile::filter

pointer to filter list. Zero if no filter is set.

Definition at line 659 of file dlt_common.h.

Referenced by dlt_file_init(), dlt_file_read(), dlt_file_set_filter(), and main().

int32_t sDltFile::filter_counter

number of filter set

Definition at line 660 of file dlt_common.h.

Referenced by dlt_file_init().

long* sDltFile::index

file positions of all DLT messages for fast access to file, only filtered messages

Definition at line 646 of file dlt_common.h.

Referenced by dlt_file_free(), dlt_file_init(), dlt_file_message(), dlt_file_read(), and dlt_file_read_raw().

int32_t sDltFile::position

current index to message parsed in DLT file starting at 0

Definition at line 651 of file dlt_common.h.

Referenced by dlt_file_init(), dlt_file_message(), dlt_file_open(), dlt_file_read(), and dlt_file_read_raw().


The documentation for this struct was generated from the following file: