-XBT_PUBLIC void MSG_function_register(const char* name, xbt_main_func_t code);
-XBT_PUBLIC void MSG_function_register_default(xbt_main_func_t code);
+/** @brief Registers the main function of a process in a global table.
+ *
+ * This table is then used by #MSG_launch_application.
+ * @param name the reference name of the function.
+ * @param code the function (must have the same prototype than the main function of any C program: int ..(int argc, char
+ * *argv[]))
+ */
+XBT_PUBLIC void MSG_function_register(const char* name, int (*code)(int, char**));
+/** @brief Registers a code function as being the default value.
+ *
+ * This function will get used by MSG_launch_application() when there is no registered function of the requested name
+ * in.
+ *
+ * @param code the function (must have the same prototype than the main function of any C program: int ..(int argc, char
+ * *argv[]))
+ */
+XBT_PUBLIC void MSG_function_register_default(int (*code)(int, char**));
+/** @brief Creates a new platform, including hosts, links and the routing_table */