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.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)