summaryrefslogtreecommitdiff
path: root/src/daemon/dlt-daemon.h
diff options
context:
space:
mode:
authorVo Trung Chi <chi.votrung@vn.bosch.com>2019-08-01 07:38:42 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2019-08-01 09:38:42 +0900
commit3f7dc3fd80e7fe548f89b96ab4228135dca688db (patch)
treeefa1473fbd73b559fc6340c35479d060d2349553 /src/daemon/dlt-daemon.h
parent8673795b845e461e42920e44cdf70a5361457e8b (diff)
downloadDLT-daemon-3f7dc3fd80e7fe548f89b96ab4228135dca688db.tar.gz
using POSIX shared memory APIs (#90) (#151)
Replace all Linux specific shared memory APIs with POSIX alternatives. Signed-off-by: Vo Trung Chi <Chi.VoTrung@vn.bosch.com>
Diffstat (limited to 'src/daemon/dlt-daemon.h')
-rw-r--r--src/daemon/dlt-daemon.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/daemon/dlt-daemon.h b/src/daemon/dlt-daemon.h
index 39ccb91..4702b69 100644
--- a/src/daemon/dlt-daemon.h
+++ b/src/daemon/dlt-daemon.h
@@ -121,9 +121,12 @@ typedef struct
char appSockPath[DLT_DAEMON_FLAG_MAX]; /**< Path to User socket */
#else
char userPipesDir[DLT_PATH_MAX]; /**< (String: Directory) directory where dltpipes reside (Default: /tmp/dltpipes) */
-#endif
char daemonFifoName[DLT_PATH_MAX]; /**< (String: Filename) name of local fifo (Default: /tmp/dlt) */
char daemonFifoGroup[DLT_PATH_MAX]; /**< (String: Group name) Owner group of local fifo (Default: Primary Group) */
+#endif
+#ifdef DLT_SHM_ENABLE
+ char dltShmName[NAME_MAX + 1]; /**< Shared memory name */
+#endif
unsigned int port; /**< port number */
char ctrlSockPath[DLT_DAEMON_FLAG_MAX]; /**< Path to Control socket */
int gatewayMode; /**< (Boolean) Gateway Mode */