/** @addtogroup XBT_API
*
+ * The XBT functionalities fall into several categories:
+ * - Portability support.
+ * - \ref XBT_syscall
* - Grounding features
+ * - \ref XBT_ex
* - \ref XBT_log
* - \ref XBT_error
* - \ref XBT_config
* - \ref XBT_fifo
* - \ref XBT_swag
* - \ref XBT_heap
- * - Portability support. The targeted audiance of this portability support
- * is merly the programming environments (\ref MSG_API, \ref GRAS_API and
- * \ref SMPI_API), not the user code which should get its portability from
- * the used programming environment.
- * - \ref XBT_context
*
* @{
*/
+
+/* *************** *
+ * * PORTABILITY * *
+ * *************** */
+
+ /** @defgroup XBT_syscall Malloc and friends
+ * @brief malloc and associated functions, killing the program on error
+ */
+
/* ************* *
* * GROUNDING * *
* ************* */
+ /** @defgroup XBT_ex Exception support
+ * @brief A set of macros providing exception a la C++ in ANSI C (grounding feature)
+ */
+
/** @defgroup XBT_log Logging support
* @brief A generic logging facility in the spirit of log4j (grounding feature)
* @{
/** @} */
-
- /** @defgroup XBT_error Error tracking support
- * @brief A set of macros easing the handling of errors (grounding feature)
+ /** @defgroup XBT_error Assert macro familly
+ * @brief Those are the GRAS version of the good ol' assert macro. You can pass them a format message and
+ * arguments, just as if it where a printf. It is converted to a CRITICALn logging request.
*/
- /** @defgroup XBT_config Configuration support
+ /** @defgroup XBT_config Configuration support
* @brief Changing the configuration of SimGrid components (grounding feature)
*/
* \brief A data container consisting in \ref XBT_dict and \ref XBT_dynar
*/
-/** \addtogroup XBT_fifo
- \ingroup XBT_API */
-/** \addtogroup XBT_swag
- \ingroup XBT_API */
+ /** \defgroup XBT_fifo A generic workqueue
+ * \brief This section describes the API to generic workqueue. These functions
+ * provide the same kind of functionnality as dynamic arrays but in time O(1).
+ * However these functions use malloc/free way too much often.
+ */
+
+ /** @defgroup XBT_swag A O(1) set datatype
+ * @brief a O(1) set based on linked lists
+ */
+
/** \addtogroup XBT_heap
\ingroup XBT_API */
-/* *************** *
- * * PORTABILITY * *
- * *************** */
+/* ************************* *
+ * * PORTABILITY-INTERNALS * *
+ * ************************* */
/** \defgroup XBT_context Portable context implementation
* \brief Contexts are a higher level system than <tt>setjump/longjmp</tt>
* implementation of the serveral programmation environment of the
* SimGrid toolkit (nammely, \ref MSG_API, \ref GRAS_API and \ref SMPI_API).
*
- * You should use those mecanism instead.
+ * You should use those mechanism instead.
*/