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 33f4ce0..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, ...);
@@ -91,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,
@@ -102,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);
@@ -111,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