X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=score.c;h=43b788e5a14441e7448b3dd294b3ad5d70381253;hb=1ef72d4c554ba2b838adacdf89ed91139c2a8931;hp=ddd3c7a25057998c0328893553b6b246cebcda64;hpb=764e71ceb1e188086c08e38dfd52d45b67dc15ba;p=paraslash.git diff --git a/score.c b/score.c index ddd3c7a2..43b788e5 100644 --- a/score.c +++ b/score.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2007 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2007 Andre Noll , see file COPYING. */ /** \file score.c Scoring functions to determine the audio file streaming order. */ #include @@ -34,8 +30,6 @@ static int ptr_compare(const struct osl_object *obj1, const struct osl_object *o * This function first compares the score values as usual integers. If they compare as * equal, the address of \a obj1 and \a obj2 are compared. So this compare function * returns zero if and only if \a obj1 and \a obj2 point to the same memory area. - * - * \sa osl_compare_function. */ static int score_compare(const struct osl_object *obj1, const struct osl_object *obj2) { @@ -92,24 +86,13 @@ static struct osl_table_description score_table_desc = { * \param num Result is returned here. * * \return Positive on success, negative on errors. - * - * \sa osl_get_num_rows(). */ int get_num_admissible_files(unsigned *num) { return osl(osl_get_num_rows(score_table, num)); } -/** - * Get the score of the audio file associated with given row of the score table. - * - * \param score_row Pointer to the row in the score table. - * \param score Result is returned here on success. - * - * On errors (negative return value) the content of \a score is undefined. - * - * \return The return value of the underlying call to osl_get_object(). - */ +/* On errors (negative return value) the content of score is undefined. */ static int get_score_of_row(void *score_row, long *score) { struct osl_object obj; @@ -284,7 +267,7 @@ int score_get_best(struct osl_row **aft_row, long *score) * \return Positive on success, negative on errors. Possible errors: * Errors returned by osl_get_row() and osl_del_row(). * - * \sa score_add(), score_shutdown(). + * \sa \ref score_add(). */ int score_delete(const struct osl_row *aft_row) {