summaryrefslogtreecommitdiff
path: root/src/daemon/dlt_daemon_connection_types.h
diff options
context:
space:
mode:
authorRalphNiemeyer <rniemeyer@de.adit-jv.com>2017-03-23 09:58:59 +0100
committerGitHub <noreply@github.com>2017-03-23 09:58:59 +0100
commit49d5962d3960eabc989796d4e3236a55c14618e6 (patch)
treea61dd79be59d2346be0c3614ed1f062f1ca147e2 /src/daemon/dlt_daemon_connection_types.h
parenta961dba0013ed2119aa719546c63212459753549 (diff)
parent0ce6e68d8835b13aa6be52ffdf2d81e1170a3834 (diff)
downloadDLT-daemon-49d5962d3960eabc989796d4e3236a55c14618e6.tar.gz
Merge pull request #5 from clipka/devel_connection_handling_fixes
Daemon connection handling fixes
Diffstat (limited to 'src/daemon/dlt_daemon_connection_types.h')
-rw-r--r--src/daemon/dlt_daemon_connection_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/daemon/dlt_daemon_connection_types.h b/src/daemon/dlt_daemon_connection_types.h
index 1e1186b..8774378 100644
--- a/src/daemon/dlt_daemon_connection_types.h
+++ b/src/daemon/dlt_daemon_connection_types.h
@@ -67,10 +67,13 @@ typedef enum {
#define DLT_CON_MASK_GATEWAY_TIMER (1 << DLT_CONNECTION_GATEWAY_TIMER)
#define DLT_CON_MASK_ALL (0xffff)
+typedef unsigned int DltConnectionId;
+
/* TODO: squash the DltReceiver structure in there
* and remove any other duplicates of FDs
*/
typedef struct DltConnection {
+ DltConnectionId id;
DltReceiver *receiver; /**< Receiver structure for this connection */
DltConnectionType type; /**< Represents what type of handle is this (like FIFO, serial, client, server) */
DltConnectionStatus status; /**< Status of connection */