summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_common.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 /include/dlt/dlt_common.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 'include/dlt/dlt_common.h')
-rw-r--r--include/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 94177e3..4f030a5 100644
--- a/include/dlt/dlt_common.h
+++ b/include/dlt/dlt_common.h
@@ -421,6 +421,13 @@ extern char dltSerialHeaderChar[DLT_ID_SIZE];
*/
extern char dltFifoBaseDir[DLT_PATH_MAX];
+#ifdef DLT_SHM_ENABLE
+/**
+ * The common name of the dlt-daemon and application share memory
+ */
+extern char dltShmName[NAME_MAX + 1];
+#endif
+
/**
* The type of a DLT ID (context id, application id, etc.)
*/