-static int get_score_row_from_aft_row(const struct osl_row *aft_row,
- struct osl_row **score_row)
-{
- 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)
+static int get_score_row_from_aft_row(struct osl_table *t,
+ const struct osl_row *aft_row, struct osl_row **score_row)