Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Connect the m_datatypes_management_details doxygen module into the tree
[simgrid.git] / include / msg / msg.h
index cf0009b..1ad3093 100644 (file)
@@ -11,8 +11,9 @@
 #include "xbt/misc.h"
 #include "xbt/sysdep.h"
 
-BEGIN_DECL()
 #include "msg/datatypes.h"
+SG_BEGIN_DECL()
+
 
 /************************** Global ******************************************/
 void MSG_config(const char *name, ...);
@@ -83,6 +84,7 @@ m_task_t MSG_parallel_task_create(const char *name,
                                  void *data);
 void *MSG_task_get_data(m_task_t task);
 m_process_t MSG_task_get_sender(m_task_t task);
+m_host_t MSG_task_get_source(m_task_t task);
 const char *MSG_task_get_name(m_task_t task);
 MSG_error_t MSG_task_cancel(m_task_t task);
 MSG_error_t MSG_task_destroy(m_task_t task);
@@ -90,6 +92,8 @@ MSG_error_t MSG_task_destroy(m_task_t task);
 MSG_error_t MSG_task_get(m_task_t * task, m_channel_t channel);
 MSG_error_t MSG_task_get_with_time_out(m_task_t * task, m_channel_t channel,
                                       double max_duration);
+MSG_error_t MSG_task_get_from_host(m_task_t * task, int channel, 
+                                  m_host_t host);
 MSG_error_t MSG_task_put(m_task_t task, m_host_t dest, 
                         m_channel_t channel);
 MSG_error_t MSG_task_put_bounded(m_task_t task,
@@ -101,6 +105,7 @@ void MSG_task_set_priority(m_task_t task, double priority);
 
 int MSG_task_Iprobe(m_channel_t channel);
 int MSG_task_probe_from(m_channel_t channel);
+int MSG_task_probe_from_host(int channel, m_host_t host);
 MSG_error_t MSG_channel_select_from(m_channel_t channel, double max_duration,
                                    int *PID);
 MSG_error_t MSG_process_sleep(double nb_sec);
@@ -110,5 +115,5 @@ double MSG_task_get_compute_duration(m_task_t task);
 double MSG_task_get_remaining_computation(m_task_t task);
 double MSG_task_get_data_size(m_task_t task);
 
-END_DECL()
+SG_END_DECL()
 #endif