Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do not export the mailbox functions now.
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 7 Jan 2008 17:19:31 +0000 (17:19 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 7 Jan 2008 17:19:31 +0000 (17:19 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5172 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/msg/msg_mailbox.h

index d1e5040..94e0c2a 100644 (file)
@@ -23,13 +23,13 @@ typedef struct s_msg_mailbox
 /*\r
  * Initialization of the mailbox module.\r
  */\r
 /*\r
  * Initialization of the mailbox module.\r
  */\r
-XBT_PUBLIC(void\r
+void\r
 MSG_mailbox_mod_init(void);\r
 \r
 /*\r
  * Terminaison of the mailbox module.\r
  */\r
 MSG_mailbox_mod_init(void);\r
 \r
 /*\r
  * Terminaison of the mailbox module.\r
  */\r
-XBT_PUBLIC(void\r
+void\r
 MSG_mailbox_mod_exit(void);\r
 \r
 /*! \brief MSG_get_mailboxes - get the dictionary containing all the mailboxes.\r
 MSG_mailbox_mod_exit(void);\r
 \r
 /*! \brief MSG_get_mailboxes - get the dictionary containing all the mailboxes.\r
@@ -40,7 +40,7 @@ MSG_mailbox_mod_exit(void);
  * \r
  * \return     The dictionary containing all the mailboxes of the simulation.\r
  */\r
  * \r
  * \return     The dictionary containing all the mailboxes of the simulation.\r
  */\r
-XBT_PUBLIC(xbt_dict_t\r
+xbt_dict_t\r
 MSG_get_mailboxes(void);\r
 \r
 /*! \brief MSG_mailbox_new - create a new mailbox.\r
 MSG_get_mailboxes(void);\r
 \r
 /*! \brief MSG_mailbox_new - create a new mailbox.\r
@@ -52,7 +52,7 @@ MSG_get_mailboxes(void);
  * \r
  * \return                     The newly created mailbox.\r
  */\r
  * \r
  * \return                     The newly created mailbox.\r
  */\r
-XBT_PUBLIC(msg_mailbox_t\r
+msg_mailbox_t\r
 MSG_mailbox_new(const char *alias);\r
 \r
 /* \brief MSG_mailbox_destroy - destroy a mailbox.\r
 MSG_mailbox_new(const char *alias);\r
 \r
 /* \brief MSG_mailbox_destroy - destroy a mailbox.\r
@@ -66,7 +66,7 @@ MSG_mailbox_new(const char *alias);
  *\r
  * \see                                MSG_mailbox_free.\r
  */\r
  *\r
  * \see                                MSG_mailbox_free.\r
  */\r
-XBT_PUBLIC(void)\r
+void\r
 MSG_mailbox_destroy(msg_mailbox_t* mailbox);\r
 \r
 /* \brief MSG_mailbox_free - release a mailbox from the memory.\r
 MSG_mailbox_destroy(msg_mailbox_t* mailbox);\r
 \r
 /* \brief MSG_mailbox_free - release a mailbox from the memory.\r
@@ -78,7 +78,7 @@ MSG_mailbox_destroy(msg_mailbox_t* mailbox);
  *\r
  * \see                                MSG_mailbox_destroy.\r
  */\r
  *\r
  * \see                                MSG_mailbox_destroy.\r
  */\r
-XBT_PUBLIC(void)\r
+void\r
 MSG_mailbox_free(void* mailbox);\r
 \r
 /* \brief MSG_mailbox_get_by_alias - get a mailbox from its alias.\r
 MSG_mailbox_free(void* mailbox);\r
 \r
 /* \brief MSG_mailbox_get_by_alias - get a mailbox from its alias.\r
@@ -92,7 +92,7 @@ MSG_mailbox_free(void* mailbox);
  * \return                     The mailbox associated with the alias specified as parameter\r
  *                                     or a new mailbox if the key does not match.\r
  */\r
  * \return                     The mailbox associated with the alias specified as parameter\r
  *                                     or a new mailbox if the key does not match.\r
  */\r
-XBT_PUBLIC(msg_mailbox_t)\r
+msg_mailbox_t\r
 MSG_mailbox_get_by_alias(const char* alias);\r
 \r
 /*! \brief MSG_mailbox_get_alias - get the alias associated with the mailbox.\r
 MSG_mailbox_get_by_alias(const char* alias);\r
 \r
 /*! \brief MSG_mailbox_get_alias - get the alias associated with the mailbox.\r
@@ -104,7 +104,7 @@ MSG_mailbox_get_by_alias(const char* alias);
  *\r
  * \return                     The alias of the mailbox specified by the parameter mailbox.\r
  */\r
  *\r
  * \return                     The alias of the mailbox specified by the parameter mailbox.\r
  */\r
-XBT_PUBLIC(const char*)\r
+const char*\r
 MSG_mailbox_get_alias(msg_mailbox_t mailbox);\r
 \r
 /*! \brief MSG_mailbox_get_cond - get the simix condition of a mailbox.\r
 MSG_mailbox_get_alias(msg_mailbox_t mailbox);\r
 \r
 /*! \brief MSG_mailbox_get_cond - get the simix condition of a mailbox.\r
@@ -116,7 +116,7 @@ MSG_mailbox_get_alias(msg_mailbox_t mailbox);
  *\r
  * \return                     The simix condition of the mailbox specified by the parameter mailbox.\r
  */\r
  *\r
  * \return                     The simix condition of the mailbox specified by the parameter mailbox.\r
  */\r
-XBT_PUBLIC(smx_cond_t)\r
+smx_cond_t\r
 MSG_mailbox_get_cond(msg_mailbox_t mailbox);\r
 \r
 /*! \brief MSG_mailbox_set_cond - set the simix condition of a mailbox.\r
 MSG_mailbox_get_cond(msg_mailbox_t mailbox);\r
 \r
 /*! \brief MSG_mailbox_set_cond - set the simix condition of a mailbox.\r
@@ -128,7 +128,7 @@ MSG_mailbox_get_cond(msg_mailbox_t mailbox);
  * \param cond         The new simix condition of the mailbox.\r
  *\r
  */\r
  * \param cond         The new simix condition of the mailbox.\r
  *\r
  */\r
-XBT_PUBLIC(void)\r
+void\r
 MSG_mailbox_set_cond(msg_mailbox_t mailbox, smx_cond_t cond);\r
 \r
 /*! \brief MSG_mailbox_get_hostname - get the name of the host owned a mailbox.\r
 MSG_mailbox_set_cond(msg_mailbox_t mailbox, smx_cond_t cond);\r
 \r
 /*! \brief MSG_mailbox_get_hostname - get the name of the host owned a mailbox.\r
@@ -140,7 +140,7 @@ MSG_mailbox_set_cond(msg_mailbox_t mailbox, smx_cond_t cond);
  *\r
  * \return                     The name of the host owned the mailbox specified by the parameter mailbox.\r
  */\r
  *\r
  * \return                     The name of the host owned the mailbox specified by the parameter mailbox.\r
  */\r
-XBT_PUBLIC(const char*)\r
+const char*\r
 MSG_mailbox_get_hostname(msg_mailbox_t mailbox);\r
 \r
 /*! \brief MSG_mailbox_set_hostname - set the name of the host owned a mailbox.\r
 MSG_mailbox_get_hostname(msg_mailbox_t mailbox);\r
 \r
 /*! \brief MSG_mailbox_set_hostname - set the name of the host owned a mailbox.\r
@@ -152,7 +152,7 @@ MSG_mailbox_get_hostname(msg_mailbox_t mailbox);
  * \param hostname     The name of the owner of the mailbox.\r
  *\r
  */\r
  * \param hostname     The name of the owner of the mailbox.\r
  *\r
  */\r
-XBT_PUBLIC(void)\r
+void\r
 MSG_mailbox_set_hostname(msg_mailbox_t mailbox, const char* hostname);\r
 \r
 \r
 MSG_mailbox_set_hostname(msg_mailbox_t mailbox, const char* hostname);\r
 \r
 \r
@@ -165,7 +165,7 @@ MSG_mailbox_set_hostname(msg_mailbox_t mailbox, const char* hostname);
  * \return                     The function returns 1 if the mailbox is empty. Otherwise the function\r
  *                                     returns 0.\r
  */\r
  * \return                     The function returns 1 if the mailbox is empty. Otherwise the function\r
  *                                     returns 0.\r
  */\r
-XBT_PUBLIC(int)\r
+int\r
 MSG_mailbox_is_empty(msg_mailbox_t mailbox);\r
 \r
 /*! \brief MSG_mailbox_put - put a task in a mailbox.\r
 MSG_mailbox_is_empty(msg_mailbox_t mailbox);\r
 \r
 /*! \brief MSG_mailbox_put - put a task in a mailbox.\r
@@ -175,7 +175,7 @@ MSG_mailbox_is_empty(msg_mailbox_t mailbox);
  * \param mailbox      The mailbox where put the task.\r
  * \param task         The task to put in the mailbox.\r
  */\r
  * \param mailbox      The mailbox where put the task.\r
  * \param task         The task to put in the mailbox.\r
  */\r
-XBT_PUBLIC(void)\r
+void\r
 MSG_mailbox_put(msg_mailbox_t mailbox, m_task_t task);\r
 \r
 /*! \brief MSG_mailbox_remove - remove a task from a mailbox.\r
 MSG_mailbox_put(msg_mailbox_t mailbox, m_task_t task);\r
 \r
 /*! \brief MSG_mailbox_remove - remove a task from a mailbox.\r
@@ -185,7 +185,7 @@ MSG_mailbox_put(msg_mailbox_t mailbox, m_task_t task);
  * \param mailbox      The mailbox concerned by this operation.\r
  * \param task         The task to remove from the mailbox.\r
  */\r
  * \param mailbox      The mailbox concerned by this operation.\r
  * \param task         The task to remove from the mailbox.\r
  */\r
-XBT_PUBLIC(void)\r
+void\r
 MSG_mailbox_remove(msg_mailbox_t mailbox, m_task_t task);\r
 \r
 /*! \brief MSG_mailbox_get_head - get the task at the head of a mailbox.\r
 MSG_mailbox_remove(msg_mailbox_t mailbox, m_task_t task);\r
 \r
 /*! \brief MSG_mailbox_get_head - get the task at the head of a mailbox.\r
@@ -198,7 +198,7 @@ MSG_mailbox_remove(msg_mailbox_t mailbox, m_task_t task);
  *\r
  * \return                     The task at the head of the mailbox.\r
  */\r
  *\r
  * \return                     The task at the head of the mailbox.\r
  */\r
-XBT_PUBLIC(m_task_t)\r
+m_task_t\r
 MSG_mailbox_get_head(msg_mailbox_t mailbox);\r
 \r
 /*! \brief MSG_mailbox_pop_head - get the task at the head of a mailbox\r
 MSG_mailbox_get_head(msg_mailbox_t mailbox);\r
 \r
 /*! \brief MSG_mailbox_pop_head - get the task at the head of a mailbox\r
@@ -211,7 +211,7 @@ MSG_mailbox_get_head(msg_mailbox_t mailbox);
  *\r
  * \return                     The task at the head of the mailbox.\r
  */\r
  *\r
  * \return                     The task at the head of the mailbox.\r
  */\r
-XBT_PUBLIC(m_task_t)\r
+m_task_t\r
 MSG_mailbox_pop_head(msg_mailbox_t mailbox);\r
 \r
 /*! \brief MSG_mailbox_get_first_host_task - get the first msg task\r
 MSG_mailbox_pop_head(msg_mailbox_t mailbox);\r
 \r
 /*! \brief MSG_mailbox_get_first_host_task - get the first msg task\r
@@ -225,7 +225,7 @@ MSG_mailbox_pop_head(msg_mailbox_t mailbox);
  *                                     parameter mailbox and sended by a process located\r
  *                                     on the host specified by the parameter host.\r
  */\r
  *                                     parameter mailbox and sended by a process located\r
  *                                     on the host specified by the parameter host.\r
  */\r
-XBT_PUBLIC(m_task_t)\r
+m_task_t\r
 MSG_mailbox_get_first_host_task(msg_mailbox_t mailbox, m_host_t host);\r
 \r
 /*! \brief MSG_mailbox_get_count_host_tasks - get the number of msg tasks\r
 MSG_mailbox_get_first_host_task(msg_mailbox_t mailbox, m_host_t host);\r
 \r
 /*! \brief MSG_mailbox_get_count_host_tasks - get the number of msg tasks\r
@@ -239,7 +239,7 @@ MSG_mailbox_get_first_host_task(msg_mailbox_t mailbox, m_host_t host);
  *                                     parameter mailbox and sended by all the processes located\r
  *                                     on the host specified by the parameter host.\r
  */\r
  *                                     parameter mailbox and sended by all the processes located\r
  *                                     on the host specified by the parameter host.\r
  */\r
-XBT_PUBLIC(int)\r
+int\r
 MSG_mailbox_get_count_host_tasks(msg_mailbox_t mailbox, m_host_t host);\r
 \r
 \r
 MSG_mailbox_get_count_host_tasks(msg_mailbox_t mailbox, m_host_t host);\r
 \r
 \r