From 80d6bbdb7ace494c9236cb2f8e3133167bf479f2 Mon Sep 17 00:00:00 2001 From: Lutz Helwing Date: Tue, 22 Mar 2016 11:58:22 +0100 Subject: DLT_RETURN_USER_BUFFER_FULL is returned when user buffer full A new return value DLT_RETURN_USER_BUFFER_FULL is introduced which is returned by all dlt_user_log_write_* and dlt_log_* functions when the data to be added to the user buffer exceeds its size (datasize > DLT_USER_BUF_MAX_SIZE) Signed-off-by: Lutz Helwing --- include/dlt/dlt_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/dlt/dlt_types.h b/include/dlt/dlt_types.h index a0400ad..cd12e77 100644 --- a/include/dlt/dlt_types.h +++ b/include/dlt/dlt_types.h @@ -85,6 +85,7 @@ typedef unsigned int speed_t; */ typedef enum { + DLT_RETURN_USER_BUFFER_FULL = -6, DLT_RETURN_WRONG_PARAMETER = -5, DLT_RETURN_BUFFER_FULL = -4, DLT_RETURN_PIPE_FULL = -3, -- cgit v1.2.1