X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffilelist.h;h=bc467fb65bb45ad1746b10a44485e8c4e6e8fb19;hb=f9126bf51d2ab81431c843a7eb325d6064571abf;hp=d96a67c9d578e95798c26e6c4c407a1c9c64e811;hpb=fac79e52e8347a26f8bbcc9d97d38ee3807d2805;p=ncmpc.git diff --git a/src/filelist.h b/src/filelist.h index d96a67c..bc467fb 100644 --- a/src/filelist.h +++ b/src/filelist.h @@ -33,9 +33,6 @@ typedef struct filelist { /* path */ gchar *path; - /* true if the list is updated */ - gboolean updated; - /* the list */ GPtrArray *entries; } mpdclient_filelist_t; @@ -76,7 +73,10 @@ filelist_move(struct filelist *filelist, struct filelist *from); void filelist_sort(struct filelist *filelist, GCompareFunc compare_func); -struct filelist_entry * +int filelist_find_song(struct filelist *flist, const struct mpd_song *song); +int +filelist_find_directory(struct filelist *filelist, const char *name); + #endif