summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_user.h
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2013-11-28 07:49:56 +0100
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2014-01-10 07:15:36 +0100
commitc48c1d23f6b27a459db55d64e87dbbc0394c0cf6 (patch)
treeb0852a74bde1a67859bb53b34ddba0466c1d466a /include/dlt/dlt_user.h
parentb0c6acf7f20d843b6928ba53a88aa2456bade754 (diff)
downloadDLT-daemon-c48c1d23f6b27a459db55d64e87dbbc0394c0cf6.tar.gz
Reduce usage of SEM_LOCK in application library and reset pointers.
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'include/dlt/dlt_user.h')
-rw-r--r--include/dlt/dlt_user.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h
index 1317112..d09adae 100644
--- a/include/dlt/dlt_user.h
+++ b/include/dlt/dlt_user.h
@@ -161,6 +161,8 @@ typedef struct
{
char contextID[4]; /**< context id */
int32_t log_level_pos; /**< offset in user-application context field */
+ int8_t *log_level_ptr; /**< pointer to the log level */
+ int8_t *trace_status_ptr; /**< pointer to the trace status */
uint8_t mcnt; /**< message counter */
} DltContext;
@@ -191,7 +193,9 @@ typedef struct
{
char contextID[DLT_ID_SIZE]; /**< Context ID */
int8_t log_level; /**< Log level */
+ int8_t *log_level_ptr; /**< Ptr to the log level */
int8_t trace_status; /**< Trace status */
+ int8_t *trace_status_ptr; /**< Ptr to the trace status */
char *context_description; /**< description of context */
DltUserInjectionCallback *injection_table; /**< Table with pointer to injection functions and service ids */
uint32_t nrcallbacks;