diff options
author | Christian Muck <christian.muck@bmw.de> | 2012-01-13 09:12:22 +0100 |
---|---|---|
committer | Christian Muck <christian.muck@bmw.de> | 2012-01-13 09:12:22 +0100 |
commit | 0b78edd4b27365f508d79c8dcbe431e6c0f947cc (patch) | |
tree | 2a14663bc59e7effb6e37f0717d364106db54e40 /include | |
parent | d5ae8f4c6354349fc047898122a50932a3cb608a (diff) | |
download | DLT-daemon-0b78edd4b27365f508d79c8dcbe431e6c0f947cc.tar.gz |
[GSW-138] API Extension to resend the log messages in the user buffer fixed.
Diffstat (limited to 'include')
-rwxr-xr-x | include/dlt/dlt_user.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h index b128244..ac889c7 100755 --- a/include/dlt/dlt_user.h +++ b/include/dlt/dlt_user.h @@ -596,6 +596,14 @@ int dlt_forward_msg(void *msgdata,size_t size); */ int dlt_user_check_buffer(int *total_size, int *used_size); +/** + * Try to resend log message in the user buffer. Stops if the dlt_uptime is bigger than + * dlt_uptime() + DLT_USER_ATEXIT_RESEND_BUFFER_EXIT_TIMEOUT. A pause between the resending + * attempts can be defined with DLT_USER_ATEXIT_RESEND_BUFFER_SLEEP + * @return number of messages in the user buffer + */ +int dlt_user_atexit_blow_out_user_buffer(void); + #ifdef __cplusplus } #endif |