summaryrefslogtreecommitdiffstats
path: root/message.h
diff options
context:
space:
mode:
authorSuper User2008-04-25 09:06:20 +0200
committerSuper User2008-04-25 09:06:20 +0200
commita130bdd9f635fc6f4a69de9592080afe3f61aab1 (patch)
tree0ca97f442b4b7d6d5250cb1f4d288579a6b6a11d /message.h
parentwork (diff)
downloadlcr-a130bdd9f635fc6f4a69de9592080afe3f61aab1.tar.gz
lcr-a130bdd9f635fc6f4a69de9592080afe3f61aab1.tar.xz
lcr-a130bdd9f635fc6f4a69de9592080afe3f61aab1.zip
struct message -> struct lcr_msg
Diffstat (limited to 'message.h')
-rw-r--r--message.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/message.h b/message.h
index 9987fd1..8283aaf 100644
--- a/message.h
+++ b/message.h
@@ -352,8 +352,8 @@ enum { /* message flow */
};
/* message structure */
-struct message {
- struct message *next;
+struct lcr_msg {
+ struct lcr_msg *next;
int type; /* type of message */
int flow; /* from where to where */
unsigned long id_from; /* in case of flow==PORT_TO_EPOINT: id_from is the port's serial, id_to is the epoint's serial */
@@ -431,11 +431,11 @@ enum { /* messages between entities */
};
-struct message *message_create(int id_from, int id_to, int flow, int type);
-void message_put(struct message *message);
-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);
+struct lcr_msg *message_create(int id_from, int id_to, int flow, int type);
+void message_put(struct lcr_msg *message);
+struct lcr_msg *message_forward(int id_from, int id_to, int flow, union parameter *param);
+struct lcr_msg *message_get(void);
+void message_free(struct lcr_msg *message);