]> git.somenet.org - pub/jan/sysprog.git/blob - gluefile/aufgb.h
all the old sysprog files
[pub/jan/sysprog.git] / gluefile / aufgb.h
1 /**************
2 * Name:         aufgb.h
3 * Author:       Jan Vales (e0726236@student.tuwien.ac.at)
4 * Date:         9.11.2009
5 ***/
6
7 #include <limits.h>
8 #include <string.h>\r
9 #include <strings.h>
10
11 #define KEY             0xBADA55 /* key for the message queue */
12 #define PERM            0666     /* permissions bits*/
13 #define MAXMSGSIZE      10       /* define maximal datasize (actual datasize = maxmsgsize -1) */
14
15 typedef struct {
16   long mType;
17   char mData[MAXMSGSIZE];
18 } message_t;