summaryrefslogtreecommitdiff
path: root/src/shared/dlt_user_shared.h
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-10-11 13:09:24 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-10-11 13:09:24 +0200
commit9585f876733b62fb29aaeb163f0f8c408765c9e3 (patch)
treefefb56af129e938776002623e89dffd23784deeb /src/shared/dlt_user_shared.h
parent95d606145751f160505660888e334518c0802470 (diff)
downloadDLT-daemon-9585f876733b62fb29aaeb163f0f8c408765c9e3.tar.gz
Added new API dlt_set_log_mode to enable/disable internal/external trace.
Diffstat (limited to 'src/shared/dlt_user_shared.h')
-rwxr-xr-xsrc/shared/dlt_user_shared.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/shared/dlt_user_shared.h b/src/shared/dlt_user_shared.h
index a9d1628..a29a045 100755
--- a/src/shared/dlt_user_shared.h
+++ b/src/shared/dlt_user_shared.h
@@ -179,6 +179,23 @@ typedef struct
uint8_t trace_status; /**< trace status */
} PACKED DltUserControlMsgAppLogLevelTraceStatus;
+/**
+ * This is the internal message content to set the logging mode: off, external, internal, both.
+ */
+typedef struct
+{
+ uint8_t log_mode; /**< the mode to be used for logging: off, external, internal, both */
+} PACKED DltUserControlMsgLogMode;
+
+/**
+ * This is the internal message content to get the logging state, broadcast to each application,
+ * when client connects or disconnects.
+ */
+typedef struct
+{
+ uint8_t log_state; /**< the mode to be used for logging: off, on */
+} PACKED DltUserControlMsgLogState;
+
/**************************************************************************************************
* The folowing functions are used shared between the user lib and the daemon implementation
**************************************************************************************************/