diff options
Diffstat (limited to 'src/shared')
-rwxr-xr-x | src/shared/dlt_common.c | 2 | ||||
-rwxr-xr-x | src/shared/dlt_user_shared.h | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/shared/dlt_common.c b/src/shared/dlt_common.c index 54a99c3..f0657e6 100755 --- a/src/shared/dlt_common.c +++ b/src/shared/dlt_common.c @@ -2635,7 +2635,7 @@ int dlt_buffer_push3(DltBuffer *buf,const unsigned char *data1,unsigned int size // try to increase size if possible if(dlt_buffer_increase_size(buf)) { /* increase size is not possible */ - dlt_log(LOG_ERR,"Buffer: Buffer is full\n"); + //dlt_log(LOG_ERR,"Buffer: Buffer is full\n"); return -1; // ERROR } // update pointers diff --git a/src/shared/dlt_user_shared.h b/src/shared/dlt_user_shared.h index 203763a..24941a7 100755 --- a/src/shared/dlt_user_shared.h +++ b/src/shared/dlt_user_shared.h @@ -182,6 +182,15 @@ typedef struct int8_t log_state; /**< the state to be used for logging state: 0 = off, 1 = external client connected */
} PACKED DltUserControlMsgLogState;
+/**
+ * This is the internal message content to get the lnumber of lost messages reported to the daemon.
+ */
+typedef struct
+{
+ uint32_t overflow_counter; /**< counts the number of lost messages */
+ char apid[4]; /**< application which lost messages */
+} PACKED DltUserControlMsgBufferOverflow;
+
/**************************************************************************************************
* The folowing functions are used shared between the user lib and the daemon implementation
**************************************************************************************************/
|