summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_shm.h
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-11-14 19:28:47 +0100
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-11-14 19:28:47 +0100
commitc74050b028d91c9bb8995dafba440babc7b621ff (patch)
tree01933b7aa5ea60c543158035498d3539647acbdf /include/dlt/dlt_shm.h
parentd2cd4df1b6d43a409f04c0bc8eb1003bec922912 (diff)
downloadDLT-daemon-c74050b028d91c9bb8995dafba440babc7b621ff.tar.gz
Created abstraction of shm buffer management.
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