X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=playlist.c;fp=playlist.c;h=5150d380f1de1b35e8e9bbb5b01fdf9785882ea8;hp=8f5c3d7d1089a7cc48352a70d6f1aaf6e8ee2aa0;hb=2391dbc88e15dd54207f289bb4fdbaf0e801b1ca;hpb=b0a87fd7b5aeb8007afd3ac25d8548543d42080c diff --git a/playlist.c b/playlist.c index 8f5c3d7d..5150d380 100644 --- a/playlist.c +++ b/playlist.c @@ -15,13 +15,13 @@ /** \file playlist.c Functions for loading and saving playlists. */ /** Structure used for adding entries to a playlist. */ -struct playlist_info { +struct playlist_instance { /** The name of the playlist. */ char *name; /** The number of entries currently in the playlist. */ unsigned length; }; -static struct playlist_info current_playlist; +static struct playlist_instance current_playlist; /** * Re-insert an audio file into the tree of admissible files. @@ -38,7 +38,7 @@ static int playlist_update_audio_file(const struct osl_row *aft_row) static int add_playlist_entry(char *path, void *data) { - struct playlist_info *playlist = data; + struct playlist_instance *playlist = data; struct osl_row *aft_row; int ret = aft_get_row_of_path(path, &aft_row); @@ -134,7 +134,7 @@ void playlist_close(void) int playlist_open(const char *name, char **msg) { int ret; - struct playlist_info *playlist = ¤t_playlist; + struct playlist_instance *playlist = ¤t_playlist; struct osl_object playlist_def; ret = pl_get_def_by_name(name, &playlist_def);