summaryrefslogtreecommitdiffstats
path: root/src/include/eiotas_board.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-29 17:09:40 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-29 17:09:40 +0200
commit9aee0986af098e355eec2c9d87ac4e3fc3fdcb42 (patch)
tree09f0165226b2f8711a4730abfdf2e7c4d35ce474 /src/include/eiotas_board.h
parent823df95bd73bf7195d9a9d3dacd418475c055bc8 (diff)
downloadedoors-9aee0986af098e355eec2c9d87ac4e3fc3fdcb42.zip
edoors-9aee0986af098e355eec2c9d87ac4e3fc3fdcb42.tar.gz
documentation
Diffstat (limited to 'src/include/eiotas_board.h')
-rw-r--r--src/include/eiotas_board.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/src/include/eiotas_board.h b/src/include/eiotas_board.h
index 6572faf..9f8d5ef 100644
--- a/src/include/eiotas_board.h
+++ b/src/include/eiotas_board.h
@@ -42,9 +42,19 @@ struct _Eiotas_Board {
};
/**
+ * @defgroup Eiotas_Board Eiotas_Board
+ *
+ * A Eiota_Board holds @ref Eiotas_Particle received.
+ * When two @ref Eiotas_Particle with the same link_value exists, they are merged together
+ * and delivered to user code through Eiotas_Receive_Particle callback.
+ *
+ * @{
+ */
+
+/**
* @brief Free allocated resources.
*
- * @param board The Eiotas_Board to free.
+ * @param board The @ref Eiotas_Board to free.
*
* This function will free all it's user data using user_bits ... FIXME
*/
@@ -54,13 +64,17 @@ void eiotas_board_free(Eiotas_Board *board);
* @brief Allocate the resources.
*
* @param name The name of this door.
- * @param parent The direct hierarchical parent Eiotas_Room.
+ * @param parent The direct hierarchical parent @ref Eiotas_Room.
* @param user_bits A Eiotas_User_Bits initilized with user side pointers.
*
- * @return the new allocated Eiotas_Board @c NULL on failure
+ * @return the new allocated @ref Eiotas_Board @c NULL on failure
*
* @see Eiotas_User_Bits
*/
EAPI Eiotas_Board* eiotas_board_add(const char* name, Eiotas_Room *parent, Eiotas_User_Bits *user_bits);
+/**
+ * @}
+ */
+
#endif // __EIOTAS_BOARD_H__