From 3f7dc3fd80e7fe548f89b96ab4228135dca688db Mon Sep 17 00:00:00 2001 From: Vo Trung Chi Date: Thu, 1 Aug 2019 07:38:42 +0700 Subject: using POSIX shared memory APIs (#90) (#151) Replace all Linux specific shared memory APIs with POSIX alternatives. Signed-off-by: Vo Trung Chi --- include/dlt/dlt_common.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/dlt/dlt_common.h') 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.) */ -- cgit v1.2.1