From 0a0643e3a561de5f34927ea80c2bd0ce6405fd3c Mon Sep 17 00:00:00 2001 From: Super User Date: Sat, 11 Aug 2007 10:12:10 +0200 Subject: fixes, debugging for usleep problems. --- message.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'message.h') diff --git a/message.h b/message.h index ae1e8fd..d60c1b3 100644 --- a/message.h +++ b/message.h @@ -278,6 +278,10 @@ struct param_hello { char application[32]; /* name of remote application */ }; +struct param_bchannel { + unsigned long addr; /* bchannel stack address */ +}; + /* structure of message parameter */ union parameter { struct param_tone tone; /* MESSAGE_TONE */ @@ -300,6 +304,7 @@ union parameter { struct extension ext; /* tell port about extension information */ struct param_crypt crypt; /* MESSAGE_CRYPT */ struct param_hello hello; /* MESSAGE_HELLO */ + struct param_bchannel bchannel; /* MESSAGE_BCHANNEL */ }; enum { /* message flow */ @@ -355,6 +360,7 @@ enum { /* messages between entities */ MESSAGE_TONE_COUNTER, /* tone counter (for VBOX tone use) */ MESSAGE_TONE_EOF, /* tone is end of file */ MESSAGE_BCHANNEL, /* request/assign bchannel */ + MESSAGE_BCHANNEL_FREE, /* requests/assigns bchannel to be free */ MESSAGE_HELLO, /* hello message for remote application */ MESSAGE_NEWREF, /* special message to create and inform ref */ }; @@ -396,7 +402,7 @@ enum { /* messages between entities */ struct message *message_create(int id_from, int id_to, int flow, int type); void message_put(struct message *message); -void message_forward(int id_from, int id_to, int flow, union parameter *param); +struct message *message_forward(int id_from, int id_to, int flow, union parameter *param); struct message *message_get(void); void message_free(struct message *message); -- cgit v1.2.3-55-g7522