#ifndef STRUCT_H #define STRUCT_H #define MSGMNB 1024 struct s_jeton { int id; }; struct s_msg { /* header */ char src[9]; char dst[9]; /* data */ int data; }; struct msgbuf { long mtype; /* message type, must be > 0 */ char mtext[1024]; /* message data */ }; #endif