Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix possible compilation problem with the declaration of msg_comm_t
[simgrid.git] / include / msg / datatypes.h
index fa9643c..12ae210 100644 (file)
@@ -60,12 +60,20 @@ typedef struct m_task {
   @{ */
 typedef struct m_task *m_task_t;
 
+/**
+ * \brief @brief Communication action
+ * \ingroup m_datatypes_management
+ *
+ * Communication actions transfer tasks between processes.
+ * For a given task, the sender and the receiver have distinct objects.
+ */
+typedef struct msg_comm *msg_comm_t;
+
 /** \brief Default value for an uninitialized #m_task_t.
     \ingroup m_datatypes_management 
 */
 #define MSG_TASK_UNINITIALIZED NULL
 
-typedef struct s_smx_action *msg_comm_t;
 /** @} */
 
 
@@ -108,7 +116,6 @@ typedef struct s_smx_rvpoint *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);