summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Muck <christian.muck@bmw.de>2012-02-08 14:55:54 +0100
committerChristian Muck <christian.muck@bmw.de>2012-02-08 14:55:54 +0100
commit5f0abf66eb361e0a41ddfc8b47b6433da5d2b097 (patch)
tree39625e12ed92d905e8ad23894f182827031dce81 /include
parent12b47dc73a54e89e0f7ded02faf7d0485b6a31af (diff)
downloadDLT-daemon-5f0abf66eb361e0a41ddfc8b47b6433da5d2b097.tar.gz
[GENDLT-16] Create variable in dlt-system.conf to configure the timeout of the filetransfer fixed.
Diffstat (limited to 'include')
-rw-r--r--include/dlt/dlt_filetransfer.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/dlt/dlt_filetransfer.h b/include/dlt/dlt_filetransfer.h
index f70b6f7..e17f79f 100644
--- a/include/dlt/dlt_filetransfer.h
+++ b/include/dlt/dlt_filetransfer.h
@@ -4,6 +4,29 @@
#include <signal.h> /* Signal handling */
#include "errno.h"
+
+//! Error code for dlt_user_log_file_complete
+#define DLT_FILETRANSFER_ERROR_FILE_COMPLETE -300
+//! Error code for dlt_user_log_file_complete
+#define DLT_FILETRANSFER_ERROR_FILE_COMPLETE1 -301
+//! Error code for dlt_user_log_file_complete
+#define DLT_FILETRANSFER_ERROR_FILE_COMPLETE2 -302
+//! Error code for dlt_user_log_file_complete
+#define DLT_FILETRANSFER_ERROR_FILE_COMPLETE3 -303
+//! Error code for dlt_user_log_file_head
+#define DLT_FILETRANSFER_ERROR_FILE_HEAD -400
+//! Error code for dlt_user_log_file_data
+#define DLT_FILETRANSFER_ERROR_FILE_DATA -500
+//! Error code for dlt_user_log_file_data
+#define DLT_FILETRANSFER_ERROR_FILE_DATA_USER_BUFFER_FAILED -501
+//! Error code for dlt_user_log_file_end
+#define DLT_FILETRANSFER_ERROR_FILE_END -600
+//! Error code for dlt_user_log_file_infoAbout
+#define DLT_FILETRANSFER_ERROR_INFO_ABOUT -700
+//! Error code for dlt_user_log_file_packagesCount
+#define DLT_FILETRANSFER_ERROR_PACKAGE_COUNT -800
+
+
//!Transfer the complete file as several dlt logs.
/**This method transfer the complete file as several dlt logs. At first it will be checked that the file exist.
* In the next step some generic informations about the file will be logged to dlt.