diff options
Diffstat (limited to 'common.c')
| -rw-r--r-- | common.c | 16 |
1 files changed, 16 insertions, 0 deletions
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 |
