aboutsummaryrefslogtreecommitdiffstats
path: root/src/filelist.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* filelist: filelist_find_song() returns position instead of pointerMax Kellermann2008-11-181-1/+1
| | | | | | Making the function return the index makes it more flexible: those who want the pointer can use filelist_get(), and the others may use the index for other purposes.
* filelist: added filelist_find_directory()Max Kellermann2008-10-031-0/+3
| | | | | The function filelist_find_directory() will be useful for the following patch.
* filelist: removed attribute "updated"Max Kellermann2008-09-251-3/+0
| | | | | Since all screen updating is now on demand, we don't need this flag anymore.
* filelist: use GPtrArray instead of GListMax Kellermann2008-09-191-7/+3
| | | | | Since we do a lot of indexed accesses to the filelist, a linked list doesn't seem appropriate. Use GPtrArray instead.
* filelist: provide more functions for working with a filelistMax Kellermann2008-09-191-0/+34
| | | | Avoid direct accesses to the filelist struct, provide an API for that.
* filelist: drop "mpdclient" prefixMax Kellermann2008-09-191-3/+2
| | | | | The separate filelist library does not depend on mpdclient, so the prefix is superfluous.
* mpdclient: moved code to filelist.cMax Kellermann2008-09-191-0/+53
Move everything which is solely filelist related to filelist.c and filelist.h. Fix the indentation of that file, and provide the struct name "filelist". Don't clear data in mpdclient_filelist_free() before calling g_free(). Constify the "song" parameter to mpdclient_filelist_find_song().