summaryrefslogtreecommitdiffstats
path: root/src/include/eiotas_door.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_door.h
parent823df95bd73bf7195d9a9d3dacd418475c055bc8 (diff)
downloadedoors-9aee0986af098e355eec2c9d87ac4e3fc3fdcb42.zip
edoors-9aee0986af098e355eec2c9d87ac4e3fc3fdcb42.tar.gz
documentation
Diffstat (limited to 'src/include/eiotas_door.h')
-rw-r--r--src/include/eiotas_door.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/src/include/eiotas_door.h b/src/include/eiotas_door.h
index 318779f..d136c1a 100644
--- a/src/include/eiotas_door.h
+++ b/src/include/eiotas_door.h
@@ -41,9 +41,19 @@ struct _Eiotas_Door {
};
/**
+ * @defgroup Eiotas_Door Eiotas_Door
+ *
+ * A Eiota_Door is the main structure used to interact with user code.
+ * @ref Eiotas_Particle sent to user code are, follower and sent releaseed
+ * through eiotas_spin_release_particle if not cprrectly managed by user code.
+ *
+ * @{
+ */
+
+/**
* @brief Free allocated resources.
*
- * @param door The Eiotas_Door to free.
+ * @param door The @ref Eiotas_Door to free.
*
* This function will free all it's user data using user_bits ... FIXME
*/
@@ -53,13 +63,17 @@ void eiotas_door_free(Eiotas_Door *door);
* @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_Door @c NULL on failure
+ * @return the new allocated @ref Eiotas_Door @c NULL on failure
*
* @see Eiotas_User_Bits
*/
EAPI Eiotas_Door* eiotas_door_add(const char* name, Eiotas_Room *parent, Eiotas_User_Bits *user_bits);
+/**
+ * @}
+ */
+
#endif // __EIOTAS_DOOR_H__