More generic use of event.
[familia.git] / src / storage / storage.h
index 49991fa946fd1740daddf607693f3a49cff413eb..b72121b86d1b3b1c41eb9232f84d61afe61495de 100644 (file)
@@ -68,7 +68,7 @@ struct familia_storage * familia_storage_get_current();
 
 /**
  * Sets storage structure as a currently loaded one.
- * @parameter storage to set as a current one
+ * @param storage storage to set as a current one
  */
 void familia_storage_set_current(struct familia_storage * storage);
 
@@ -81,52 +81,54 @@ struct familia_storage * familia_storage_new();
 
 /**
  * Frees storage and all the content in it
- * @parameter storage to free
+ * @param storage storage to free
  */
 void familia_storage_free(struct familia_storage * storage);
 
 /**
  * Adds individual to the storage
- * @parameter storage to which add individual
- * @parameter individual to add to the storage
+ * @param storage storage to which add individual
+ * @param individual individual to add to the storage
  */
 void familia_storage_add_individual(struct familia_storage * storage, struct familia_individual * individual);
 
 /**
  * Gets individual with the given id from the storage
- * @parameter storage from which search for individual
- * @parameter individual identifier
+ * @param storage storage from which search for individual
+ * @param id individual identifier
  * @return loaded individual if found. NULL otherwise.
  */
 struct familia_individual * familia_storage_get_individual_by_id(struct familia_storage * storage, unsigned int id);
 
 /**
  * Removes individual with the given id from the storage
- * @parameter storage from which remove individual
- * @parameter individual id
+ * @param storage storage from which remove individual
+ * @param id individual id
  */
 void familia_storage_remove_individual_by_id(struct familia_storage * storage, unsigned int id);
 
 /**
  * Adds family to the storage
- * @parameter storage to which add family
- * @parameter family to add to the storage
+ * @param storage storage to which add family
+ * @param family family to add to the storage
  */
 void familia_storage_add_family(struct familia_storage * storage, struct familia_family * family);
 
 /**
  * Gets family with the given id from the storage
- * @parameter storage from which search for family
- * @parameter family identifier
+ * @param storage storage from which search for family
+ * @param id family identifier
  * @return loaded family if found. NULL otherwise
  */
 struct familia_family * familia_storage_get_family_by_id(struct familia_storage * storage, unsigned int id);
 
 /**
  * Removes family with the given id from the storage
- * @parameter storage from which remove family
- * @parameter family id
+ * @param storage storage from which remove family
+ * @param id family id
  */
 void familia_storage_remove_family_by_id(struct familia_storage * storage, unsigned int id);
 
+void familia_storage_dump_all();
+
 #endif /*_FAMILIA_STORAGE_H */