summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Noll <maan@tuebingen.mpg.de>2020-05-16 13:03:51 +0200
committerAndre Noll <maan@tuebingen.mpg.de>2020-05-16 13:03:51 +0200
commit73fd06fe7a5600dbc8339ac01acf49c66aef7e08 (patch)
treeb121f618f6222d3289a327ab4a2598ff6ffa0154
parent9aadc0af8df91d309f9f701f07a6db0542341618 (diff)
Improve documentation of osl_rbtree_loop().
Mention that E_OSL_LOOP is the only possible error. Fix a few trivial whitespace issues and a typo while at it.
-rw-r--r--osl.h.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/osl.h.in b/osl.h.in
index 2abe135..3d21439 100644
--- a/osl.h.in
+++ b/osl.h.in
@@ -302,7 +302,6 @@ int osl_close_disk_object(struct osl_object *obj);
int osl_add_and_get_row(struct osl_table *t, struct osl_object *objects,
struct osl_row **row);
-
/**
* Add a new row to an osl table.
*
@@ -324,7 +323,7 @@ int osl_add_row(struct osl_table *t, struct osl_object *objects);
* This removes all disk storage objects, removes all rbtree nodes, and frees
* all volatile objects belonging to the given row. For mapped columns, the
* data is merely marked invalid and may be pruned from time to time by
- * osl_fsck.
+ * oslfsck.
*
* \return Standard.
*/
@@ -347,9 +346,9 @@ int osl_del_row(struct osl_table *t, struct osl_row *row);
* second argument. The loop terminates either if \a func returns a negative
* value, or if all nodes of the tree have been visited.
*
- *
* \return Standard. If the termination of the loop was caused by \a func
- * returning a negative value, \p -E_OSL_LOOP is returned.
+ * returning a negative value, \p -E_OSL_LOOP is returned. This is the only
+ * possible error.
*
* \sa osl_storage_flags, osl_rbtree_loop_reverse(), osl_compare_func.
*/
@@ -408,7 +407,6 @@ int osl_update_object(struct osl_table *t, const struct osl_row *r,
*/
int osl_get_num_rows(const struct osl_table *t, unsigned *num_rows);
-
/**
* Get the row corresponding to the smallest rbtree node of a column.
*