From 912c8f6887b6007c474ca6c1c3134c25936ab982 Mon Sep 17 00:00:00 2001 From: Alexander Wenzel Date: Fri, 10 Jan 2014 07:06:19 +0100 Subject: Defined return value for dlt_message_read(). Signed-off-by: Alexander Wenzel --- include/dlt/dlt_common.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/dlt/dlt_common.h') diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h index 22710c7..be04e68 100755 --- a/include/dlt/dlt_common.h +++ b/include/dlt/dlt_common.h @@ -614,6 +614,11 @@ typedef struct int size; } DltBufferBlockHead; +#define DLT_MESSAGE_ERROR_OK 0 +#define DLT_MESSAGE_ERROR_UNKNOWN -1 +#define DLT_MESSAGE_ERROR_SIZE -2 +#define DLT_MESSAGE_ERROR_CONTENT -3 + #ifdef __cplusplus extern "C" { -- cgit v1.2.1