automotive-dlt
dlt-receive.c File Reference
#include <ctype.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <errno.h>
#include <string.h>
#include <glob.h>
#include <syslog.h>
#include <linux/limits.h>
#include <inttypes.h>
#include "dlt_client.h"
Include dependency graph for dlt-receive.c:

Go to the source code of this file.

Data Structures

struct  DltReceiveData
 

Macros

#define DLT_RECEIVE_TEXTBUFSIZE   10024 /* Size of buffer for text output */
 
#define DLT_RECEIVE_ECU_ID   "RECV"
 

Functions

int dlt_receive_message_callback (DltMessage *message, void *data)
 
void usage ()
 
int64_t convert_arg_to_byte_size (char *arg)
 
int dlt_receive_open_output_file (DltReceiveData *dltdata)
 
void dlt_receive_close_output_file (DltReceiveData *dltdata)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

#define DLT_RECEIVE_ECU_ID   "RECV"

Definition at line 87 of file dlt-receive.c.

Referenced by main().

#define DLT_RECEIVE_TEXTBUFSIZE   10024 /* Size of buffer for text output */

Definition at line 85 of file dlt-receive.c.

Referenced by dlt_receive_message_callback().

Function Documentation

int64_t convert_arg_to_byte_size ( char *  arg)

Definition at line 144 of file dlt-receive.c.

References dlt_log(), and sDltMessage::headerbuffer.

Referenced by main().

void dlt_receive_close_output_file ( DltReceiveData dltdata)

Definition at line 289 of file dlt-receive.c.

References DltReceiveData::ohandle.

Referenced by dlt_receive_message_callback().

int dlt_receive_open_output_file ( DltReceiveData dltdata)
void usage ( void  )

Print usage information of tool.

Definition at line 116 of file dlt-receive.c.

References dlt_get_version().

Referenced by main().