summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_user.h
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2014-05-19 14:23:55 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2014-05-19 14:30:03 +0200
commit9a91fe28c05c54f7428325b0290a29c28966ae56 (patch)
tree697558db9fa0f7ccfa027314d2c4540b082b0001 /include/dlt/dlt_user.h
parent7feddfe828414c876af27ba7e425ff4da989f4e2 (diff)
downloadDLT-daemon-9a91fe28c05c54f7428325b0290a29c28966ae56.tar.gz
DLT_CSTRING implementation non verbose mode.
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.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h
index 93ac0a0..7d41896 100644
--- a/include/dlt/dlt_user.h
+++ b/include/dlt/dlt_user.h
@@ -354,7 +354,18 @@ int dlt_user_log_write_int64(DltContextData *log, int64_t data);
*/
int dlt_user_log_write_string( DltContextData *log, const char *text);
- /**
+/**
+ * Write a constant null terminated ASCII string into a DLT log message.
+ * In non verbose mode DLT parameter will not be send at all.
+ * dlt_user_log_write_start has to be called before adding any attributes to the log message.
+ * Finish sending log message by calling dlt_user_log_write_finish.
+ * @param log pointer to an object containing information about logging context data
+ * @param text pointer to the parameter written into log message containing null termination.
+ * @return negative value if there was an error
+ */
+int dlt_user_log_write_constant_string( DltContextData *log, const char *text);
+
+/**
* Write a null terminated UTF8 string into a DLT log message.
* dlt_user_log_write_start has to be called before adding any attributes to the log message.
* Finish sending log message by calling dlt_user_log_write_finish.