summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_shm.h
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-11-10 23:58:00 +0100
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-11-10 23:58:00 +0100
commit43007289af347bff5aa9fee7af628e9bf17d1d3a (patch)
treebaa2e60a8be61db15a549d28198a0208a6be8aea /include/dlt/dlt_shm.h
parent3fcd7400a003a3f694f1638a31e3a9fe6cf1595a (diff)
downloadDLT-daemon-43007289af347bff5aa9fee7af628e9bf17d1d3a.tar.gz
Reworkd SHM implementation.
Diffstat (limited to 'include/dlt/dlt_shm.h')
-rw-r--r--include/dlt/dlt_shm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/dlt/dlt_shm.h b/include/dlt/dlt_shm.h
index 462c089..3744ec7 100644
--- a/include/dlt/dlt_shm.h
+++ b/include/dlt/dlt_shm.h
@@ -93,6 +93,13 @@ typedef struct
char* mem; /* pointer to data area in shared memory */
} DltShm;
+typedef struct
+{
+ char head[4];
+ unsigned char status;
+ int size;
+} DltShmBlockHead;
+
#define DLT_SHM_SEM_GET(id) dlt_shm_pv(id,-1)
#define DLT_SHM_SEM_FREE(id) dlt_shm_pv(id,1)