Added some fixes to router demo

This commit is contained in:
skarg
2016-07-01 14:28:14 +00:00
parent 3465c43a6a
commit 7462d448a5
7 changed files with 45 additions and 7 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ extern pthread_mutex_t msg_lock;
typedef int MSGBOX_ID;
typedef enum {
DATA,
DATA = 1,
SERVICE
} MSGTYPE;
@@ -55,8 +55,8 @@ typedef enum {
} MSGSUBTYPE;
typedef struct _message {
MSGBOX_ID origin;
MSGTYPE type;
MSGBOX_ID origin;
MSGSUBTYPE subtype;
void *data;
/* add timestamp */