-static int get_playlist_data(struct osl_row *row, char **playlist_name,
- struct osl_object *playlist_def)
-{
- struct osl_object obj;
- int ret = osl_get_object(playlists_table, row, BLOBCOL_NAME, &obj);
- if (ret < 0)
- return ret;
- *playlist_name = obj.data;
- return osl_open_disk_object(playlists_table, row, BLOBCOL_DEF,
- playlist_def);
-}
-