diff options
author | Christoph Lipka <clipka@jp.adit-jv.com> | 2016-12-06 16:42:41 +0900 |
---|---|---|
committer | Saya Sugiura <ssugiura@jp.adit-jv.com> | 2019-05-06 15:44:49 +0900 |
commit | 4fe69b0927f4c5d0cb3b3ae4fa64500db22b13d0 (patch) | |
tree | 74ae0df4109c6f0980e45a3d0b2a29c4dfdc10f2 /include | |
parent | 1348d1c07dbda69c32317738b8e9c69734f181c3 (diff) | |
download | DLT-daemon-4fe69b0927f4c5d0cb3b3ae4fa64500db22b13d0.tar.gz |
unix socket: IPC code isolation
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Signed-off-by: Vo Trung Chi <Chi.VoTrung@vn.bosch.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/dlt/dlt_types.h | 2 | ||||
-rw-r--r-- | include/dlt/dlt_user.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/dlt/dlt_types.h b/include/dlt/dlt_types.h index c47ba50..cddc349 100644 --- a/include/dlt/dlt_types.h +++ b/include/dlt/dlt_types.h @@ -178,6 +178,7 @@ typedef enum typedef float float32_t; typedef double float64_t; +#ifdef DLT_USE_UNIX_SOCKET_IPC /** * Definition Library connection state */ @@ -187,5 +188,6 @@ typedef enum DLT_USER_CONNECTED, DLT_USER_RETRY_CONNECT } DltUserConnectionState; +#endif #endif /* DLT_TYPES_H */ diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h index b885eaf..a5199b4 100644 --- a/include/dlt/dlt_user.h +++ b/include/dlt/dlt_user.h @@ -240,7 +240,9 @@ typedef struct int corrupt_message_size; int16_t corrupt_message_size_size; # endif +# ifdef DLT_USE_UNIX_SOCKET_IPC DltUserConnectionState connection_state; +# endif uint16_t log_buf_len; /**< length of message buffer, by default: DLT_USER_BUF_MAX_SIZE */ } DltUser; |