-*/
-/*@{*/
-typedef int m_channel_t;
-/*@}*/
-
-/****************************** Error handling *******************************/
-/** \brief Error handling
-*/typedef enum {
- MSG_OK = 0, /**< Everything is right. Keep on going this way ! */
- MSG_WARNING, /**< Mmmh! Something must be not perfectly clean. But I
- may be a paranoid freak... ! */
- MSG_TRANSFER_FAILURE, /**< There has been a problem during you task
+ @{ */
+ typedef int m_channel_t;
+/** @} */
+
+/* ******************************** Mailbox ************************************ */
+
+ typedef struct s_msg_mailbox *msg_mailbox_t;
+/** @brief Mailbox datatype
+ @ingroup m_datatypes_management_details @{ */
+
+ msg_mailbox_t MSG_mailbox_create(const char *alias);
+ void MSG_mailbox_free(void *mailbox);
+
+
+/** @} */
+
+
+/* ***************************** Error handling ***************************** */
+/** @brief Error handling
+ @ingroup m_datatypes_management
+ @{
+*/ /* Keep these code as binary values: java bindings manipulate | of these values */
+ typedef enum {
+ MSG_OK = 0, /**< @brief Everything is right. Keep on going this way ! */
+ MSG_TIMEOUT=1, /**< @brief nothing good happened before the timer you provided elapsed */
+ MSG_TRANSFER_FAILURE=2,/**< @brief There has been a problem during you task