summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_common.h
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-30 09:05:27 +0200
commit736bc53178341e67111b7e15fe18e87adb22cc9d (patch)
tree88d292510ac498834f9e298a54e5fd6c6370737c /include/dlt/dlt_common.h
parentee78627e44e4a3093789d1d361ac1e03354da6a4 (diff)
downloadDLT-daemon-736bc53178341e67111b7e15fe18e87adb22cc9d.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/dlt/dlt_common.h')
-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
*/