From 5f8b897a3ba80dc4bd82a13372ae8b8a279930f2 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Mon, 9 May 2016 14:08:56 -0400 Subject: Migrateing to nicer looking stuff --- common.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 common.c (limited to 'common.c') diff --git a/common.c b/common.c new file mode 100644 index 0000000..a8571b7 --- /dev/null +++ b/common.c @@ -0,0 +1,16 @@ + +//Size of shared memory +#define SHMSZ_CHAT 1024 +#define SHMSZ_BUGS 1024 +#define SHMSZ_DATA 1024 +#define SHMSZ_PLAY 1024 + +//Keys for the shared memory +#define KEY_CHAT_TO 5679 +#define KEY_CHAT_FROM 5680 +#define KEY_BUGS_TO 5681 +#define KEY_BUGS_FROM 5682 +#define KEY_DATA_TO 5683 +#define KEY_DATA_FROM 5684 +#define KEY_PLAY_TO 5685 +#define KEY_PLAY_FROM 5686 -- cgit v1.2.3-70-g09d2