summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_shm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dlt/dlt_shm.h')
-rw-r--r--include/dlt/dlt_shm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/dlt/dlt_shm.h b/include/dlt/dlt_shm.h
index 3744ec7..b623981 100644
--- a/include/dlt/dlt_shm.h
+++ b/include/dlt/dlt_shm.h
@@ -68,6 +68,8 @@
#ifndef DLT_SHM_H
#define DLT_SHM_H
+#include <dlt_common.h>
+
/* shared memory key */
/* must be the same for server and cleint */
#define DLT_SHM_KEY 11771
@@ -88,9 +90,7 @@ typedef struct
{
int shmid; /* Id of shared memory */
int semid; /* Id of semaphore */
- char* shm; /* pointer to beginning of shared memory */
- int size; /* size of data area in shared memory */
- char* mem; /* pointer to data area in shared memory */
+ DltBuffer buffer;
} DltShm;
typedef struct