summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_shm.h
diff options
context:
space:
mode:
authorLutz Helwing <lutz_helwing@mentor.com>2015-07-13 16:06:09 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2015-07-21 12:48:00 +0200
commit199ff0e7f736d848a7e01a12f04ddb21ecf36d74 (patch)
treeb4b2bfe34512eada3f44211c8d015051d92f99ab /include/dlt/dlt_shm.h
parent7f9b53d0f36eec2f257c4f54e023c086b6317b78 (diff)
downloadDLT-daemon-199ff0e7f736d848a7e01a12f04ddb21ecf36d74.tar.gz
Replaced all tabs with spaces in all files in include folder
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'include/dlt/dlt_shm.h')
-rw-r--r--include/dlt/dlt_shm.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/dlt/dlt_shm.h b/include/dlt/dlt_shm.h
index 5c9df51..52e8e1a 100644
--- a/include/dlt/dlt_shm.h
+++ b/include/dlt/dlt_shm.h
@@ -61,32 +61,32 @@
/* shared memory key */
/* must be the same for server and cleint */
-#define DLT_SHM_KEY 11771
+#define DLT_SHM_KEY 11771
/* default size of shared memory */
/* size is extended during creation to fit segment size */
/* client retreives real size from shm buffer */
-#define DLT_SHM_SIZE 100000
+#define DLT_SHM_SIZE 100000
/* Id of the used semaphore */
/* used for synchronisation of write and read access of multiple clients and server */
/* must be the same for server and client */
-#define DLT_SHM_SEM 22771
+#define DLT_SHM_SEM 22771
-#define DLT_SHM_HEAD "SHM"
+#define DLT_SHM_HEAD "SHM"
typedef struct
{
- int shmid; /* Id of shared memory */
- int semid; /* Id of semaphore */
- DltBuffer buffer;
+ int shmid; /* Id of shared memory */
+ int semid; /* Id of semaphore */
+ DltBuffer buffer;
} DltShm;
typedef struct
{
- char head[4];
- unsigned char status;
- int size;
+ char head[4];
+ unsigned char status;
+ int size;
} DltShmBlockHead;
#define DLT_SHM_SEM_GET(id) dlt_shm_pv(id,-1)