diff options
author | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2011-11-10 23:58:00 +0100 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2011-11-10 23:58:00 +0100 |
commit | 43007289af347bff5aa9fee7af628e9bf17d1d3a (patch) | |
tree | baa2e60a8be61db15a549d28198a0208a6be8aea /include/dlt | |
parent | 3fcd7400a003a3f694f1638a31e3a9fe6cf1595a (diff) | |
download | DLT-daemon-43007289af347bff5aa9fee7af628e9bf17d1d3a.tar.gz |
Reworkd SHM implementation.
Diffstat (limited to 'include/dlt')
-rw-r--r-- | include/dlt/dlt_shm.h | 7 |
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) |