-};
-
-
-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);
-
+ "MESSAGE_BRIDGE", \
+ "MESSAGE_TRAFFIC", \
+ "MESSAGE_3PTY", \
+ "MESSAGE_TRANSFER", \
+ "MESSAGE_DISABLE_DEJITTER", \
+ "MESSAGE_UPDATEBRIDGE", \
+ "MESSAGE_VOOTP", \
+ "MESSAGE_DOV_INDIVATION", \
+ "MESSAGE_DOV_REQUEST", \
+ "MESSAGE_DOV_LISTEN", \
+};
+
+
+extern unsigned int lcr_random;
+struct lcr_msg *message_create(int id_from, int id_to, int flow, int type);
+#define message_put(m) _message_put(m, __FILE__, __LINE__)
+void _message_put(struct lcr_msg *message, const char *file, int line);
+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);
+void init_message(void);
+void cleanup_message(void);