summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_user.h
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2014-05-13 12:30:09 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2014-05-16 08:37:36 +0200
commit52ee97e9a6e336b6cd03b0603b783502f9f34880 (patch)
tree4692bac12891fe80d2e74d113a51c4aa237e116f /include/dlt/dlt_user.h
parent34a670beb01bda0723f8be004b4ab94eb5287753 (diff)
downloadDLT-daemon-52ee97e9a6e336b6cd03b0603b783502f9f34880.tar.gz
Send extended header in non verbose mode by default and add new API to change setting.
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.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h
index d09adae..564f56b 100644
--- a/include/dlt/dlt_user.h
+++ b/include/dlt/dlt_user.h
@@ -228,7 +228,8 @@ typedef struct
DltReceiver receiver; /**< Receiver for internal user-defined messages from daemon */
- int8_t verbose_mode; /**< Verbose mode enabled: 1 enabled, 0 disabled */
+ int8_t verbose_mode; /**< Verbose mode enabled: 1 enabled, 0 disabled */
+ int8_t use_extende_header_for_non_verbose; /**< Use extended header for non verbose: 1 enabled, 0 disabled */
int8_t enable_local_print; /**< Local printing of log messages: 1 enabled, 0 disabled */
int8_t local_print_mode; /**< Local print mode, controlled by environment variable */
@@ -542,6 +543,14 @@ int dlt_user_check_library_version(const char *user_major_version,const char *us
int dlt_nonverbose_mode(void);
/**
+ * Use extended header in non verbose mode.
+ * Enabled by default.
+ * @param use_extende_header_for_non_verbose Use extended header for non verbose mode if true
+ * @return negative value if no success
+ */
+int dlt_use_extended_header_for_non_verbose(int8_t use_extende_header_for_non_verbose);
+
+/**
* Set maximum logged log level and trace status of application
*
* @param loglevel This is the log level to be set for the whole application