module-surf.doc \
module-simix.doc \
module-trace.doc \
- index-API.doc \
+ index-API.doc \
@top_srcdir@/doc/ref_guide/doxygen/logcategories.doc \
@top_srcdir@/src/instr/ \
@top_srcdir@/include/ \
- \ref m_process_management
- \ref m_host_management
- \ref m_task_management
+ - \ref m_mailbox_management
- \ref msg_file_management
- \ref msg_task_usage
- \ref msg_VMs
#MSG_function_register (and maybe #MSG_function_register_default)
-# Launch your processes from a deployment file with #MSG_launch_application
-# Run the simulation with #MSG_main
- -# Cleanup the library with #MSG_clean before ending your program
- (optional).
@htmlonly <!-- DOXYGEN_NAVBAR_LABEL="Simulation Control" --> @endhtmlonly
*/
* \htmlonly <!-- DOXYGEN_NAVBAR_LABEL="Tasks" --> \endhtmlonly
*/
+/** @defgroup m_mailbox_management Mailbox Management Functions
+ * @ingroup MSG_API
+ * @brief This section describes the mailbox structure of MSG
+ * (#msg_mailbox_t) and the functions for managing it.
+ *
+ * \htmlonly <!-- DOXYGEN_NAVBAR_LABEL="Tasks" --> \endhtmlonly
+ */
+
/** @defgroup msg_task_usage Task Actions
* @ingroup MSG_API
* @brief This section describes the functions that can be used
#include "xbt/sysdep.h"
+/* \ingroup msg_file_management
+ * \brief Structure containing information of a file
+ *
+ */
typedef struct file_stat {
char *user_rights;
char *user;
#include "msg_mailbox.h"
#include "msg_private.h"
+/** @addtogroup m_mailbox_management
+ * \brief functions to manage mailbox
+ */
+
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_mailbox, msg,
"Logging specific to MSG (mailbox)");
}
+/* \ingroup m_mailbox_management
+ * \brief Get a task from a mailbox on a given host
+ *
+ * \param mailbox The mailbox where the task was sent
+ * \param task a memory location for storing a #msg_task_t.
+ * \param host a #msg_host_t host from where the task was sent
+ * \param timeout a timeout
+
+ * \return Returns
+ * #MSG_OK if the task was successfully received,
+ * #MSG_HOST_FAILURE, or #MSG_TRANSFER_FAILURE otherwise.
+ */
msg_error_t
MSG_mailbox_get_task_ext(msg_mailbox_t mailbox, msg_task_t * task,
msg_host_t host, double timeout)
* \ingroup simix_host_management
* \brief Returns a dict of the properties assigned to a router or AS.
*
- * \param asr name of the router or AS
+ * \param name The name of the router or AS
* \return The properties
*/
xbt_dict_t simcall_asr_get_properties(const char *name)
* \brief Registers a function to handle a kind of action
*
* Registers a function to handle a kind of action
- * This table is then used by #xbt_replay_action_runner
+ * This table is then used by \ref xbt_replay_action_runner
*
* The argument of the function is the line describing the action, splitted on spaces with xbt_str_split_quoted()
*
free(action_line);
}
+/**
+ * \ingroup XBT_replay
+ * \brief TODO
+
+ * \param argc argc .
+ * \param argv argv
+ */
int xbt_replay_action_runner(int argc, char *argv[])
{
const char **evt;