summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Muck <christian.muck@bmw.de>2012-05-08 09:55:26 +0200
committerChristian Muck <christian.muck@bmw.de>2012-05-08 09:58:09 +0200
commit425c366dc147652c9b2b0af8a26f66d7a457feff (patch)
treea66ddfe45817a6d64c1cd87ab26eda4ce5359d7b /include
parentf7828cf1a677b0d651c0477176099d66550037fd (diff)
downloadDLT-daemon-425c366dc147652c9b2b0af8a26f66d7a457feff.tar.gz
Added define statement for initial value of file descriptor and (-1). Updated the user_handle of the daemon and user
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Diffstat (limited to 'include')
-rwxr-xr-xinclude/dlt/dlt_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h
index 19ee4d5..690c2bd 100755
--- a/include/dlt/dlt_common.h
+++ b/include/dlt/dlt_common.h
@@ -175,6 +175,13 @@
*/
#define DLT_DAEMON_TCP_PORT 3490
+
+/* Initi value for file descritpor */
+#define DLT_FD_INIT -1
+
+/* Minimum value for a file descriptor except the POSIX Standards: stdin=0, stdout=1, stderr=2 */
+#define DLT_FD_MINIMUM 3
+
/**
* The size of a DLT ID
*/