diff options
Diffstat (limited to 'include')
-rwxr-xr-x | include/dlt/dlt_user.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h index edfeef2..b6f2e39 100755 --- a/include/dlt/dlt_user.h +++ b/include/dlt/dlt_user.h @@ -246,6 +246,11 @@ typedef struct #ifdef DLT_SHM_ENABLE DltShm dlt_shm; #endif +#ifdef DLT_TEST_ENABLE + int corrupt_user_header; + int corrupt_message_size; + int16_t corrupt_message_size_size; +#endif } DltUser; /************************************************************************************************** @@ -604,6 +609,11 @@ int dlt_user_check_buffer(int *total_size, int *used_size); */ int dlt_user_atexit_blow_out_user_buffer(void); +#ifdef DLT_TEST_ENABLE +void dlt_user_test_corrupt_user_header(int enable); +void dlt_user_test_corrupt_message_size(int enable,int16_t size); +#endif /* DLT_TEST_ENABLE */ + #ifdef __cplusplus } #endif |