automotive-dlt
dlt-test-multi-process-client.c File Reference
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <ctype.h>
#include <stdlib.h>
#include <time.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <sys/stat.h>
#include "dlt_client.h"
#include "dlt_protocol.h"
#include "dlt_user.h"
#include "dlt-test-multi-process.h"
Include dependency graph for dlt-test-multi-process-client.c:

Go to the source code of this file.

Data Structures

struct  s_parameters
 
struct  s_statistics
 

Functions

int receive (DltMessage *msg, void *data)
 
void usage (char *name)
 
void init_params (s_parameters *params)
 
int read_params (s_parameters *params, int argc, char *argv[])
 
int init_dlt_connect (DltClient *client, const s_parameters *params, int argc, char *argv[])
 
int main (int argc, char *argv[])
 
void print_stats (s_statistics stats, s_parameters params)
 

Detailed Description

Author
Lassi Marttala Lassi.nosp@m..LM..nosp@m.Martt.nosp@m.ala@.nosp@m.partn.nosp@m.er.b.nosp@m.mw.de

Definition in file dlt-test-multi-process-client.c.

Function Documentation

int init_dlt_connect ( DltClient client,
const s_parameters params,
int  argc,
char *  argv[] 
)
void init_params ( s_parameters params)

Initialize reasonable default parameters.

Set nice default values for parameters

Definition at line 108 of file dlt-test-multi-process-client.c.

References s_parameters::baudrate, s_parameters::max_messages, NULL, s_parameters::output, s_parameters::output_handle, s_parameters::serial, and s_parameters::verbose.

Referenced by read_params().

int read_params ( s_parameters params,
int  argc,
char *  argv[] 
)
void usage ( char *  name)

Print usage information

Definition at line 90 of file dlt-test-multi-process-client.c.

References dlt_get_version().

Referenced by main().