Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Export some mailbox related functions
[simgrid.git] / include / msg / datatypes.h
index e8b5ce1..1debf57 100644 (file)
@@ -64,6 +64,8 @@ typedef struct m_task  *m_task_t;
 
 /** @} */
 
+
+
 /* ****************************** Process *********************************** */
 typedef struct simdata_process *simdata_process_t;
 /** @brief Process datatype 
@@ -95,6 +97,19 @@ typedef struct m_process *m_process_t;
 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