X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=playlist.c;h=ca427bc7379b43d3fac2fb567c17419d836ebc37;hp=6f9f9669618377370daa1f330dd1b76f464eeb7e;hb=53d503ce75eb1d9439cfb75053d3cff4cbca6ff9;hpb=a08d65fa0cbc5f79632be742b818f621f3dc48d0 diff --git a/playlist.c b/playlist.c index 6f9f9669..ca427bc7 100644 --- a/playlist.c +++ b/playlist.c @@ -1,8 +1,8 @@ #include "para.h" #include "error.h" +#include "string.h" #include "afh.h" #include "afs.h" -#include "string.h" /** \file playlist.c Functions for loading and saving playlists. */ @@ -122,6 +122,14 @@ static int check_playlist(struct osl_row *row, void *data) return 1; } +/** + * Check the playlist table for inconsistencies. + * + * \param query Unused. + * \param result Contains messages about inconsistencies. + * + * \return The return value of the underlying call to osl_rbtree_loop(). + */ int playlist_check_callback(__a_unused const struct osl_object *query, struct osl_object *result) {