automotive-dlt
dlt-example-user.c File Reference
#include <netdb.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "dlt.h"
#include "dlt_common.h"
Include dependency graph for dlt-example-user.c:

Go to the source code of this file.

Functions

int dlt_user_injection_callback (uint32_t service_id, void *data, uint32_t length)
 
void dlt_user_log_level_changed_callback (char context_id[DLT_ID_SIZE], uint8_t log_level, uint8_t trace_status)
 
 DLT_DECLARE_CONTEXT (mycontext)
 
int main (int argc, char *argv[])
 

Detailed Description

Author
Alexander Wenzel alexa.nosp@m.nder.nosp@m..aw.w.nosp@m.enze.nosp@m.l@bmw.nosp@m..de

Definition in file dlt-example-user.c.

Function Documentation

DLT_DECLARE_CONTEXT ( mycontext  )

Print usage information of tool.

Definition at line 82 of file dlt-example-user.c.

References dlt_get_version().

int dlt_user_injection_callback ( uint32_t  service_id,
void *  data,
uint32_t  length 
)

Definition at line 400 of file dlt-example-user.c.

References DLT_LOG, DLT_LOG_INFO, dlt_print_mixed_string(), DLT_STRING, DLT_UINT32, and mycontext.

Referenced by main().

void dlt_user_log_level_changed_callback ( char  context_id[DLT_ID_SIZE],
uint8_t  log_level,
uint8_t  trace_status 
)

Definition at line 415 of file dlt-example-user.c.

Referenced by main().