- struct osl_object obj = {.data = &aft_row, .size = sizeof(void **)};
- return osl_get_row(score_table, SCORECOL_AFT_ROW, &obj, score_row);
-
-}
-
-/**
- * Loop over all files in the score table.
- *
- * \param data A pointer to arbitrary data.
- * \param func Function to be called for each admissible file.
- *
- * \return The return value of the underlying call to osl_rbtree_loop().
- *
- * This is used for the ls command. The \a data parameter is passed as the
- * second argument to \a func.
- *
- * \sa admissible_file_loop_reverse().
- */
-int admissible_file_loop(void *data, osl_rbtree_loop_func *func)
-{
- return osl_rbtree_loop(score_table, SCORECOL_SCORE, data, func);
+ struct osl_object obj = {.data = (struct osl_row *)aft_row,
+ .size = sizeof(aft_row)};
+ return osl(osl_get_row(score_table, SCORECOL_AFT_ROW, &obj, score_row));