aboutsummaryrefslogtreecommitdiffstats
path: root/src/mpdclient.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-21Adding crop feature in ncmpcYannick LM1-0/+2
The "crop" command deletes all songs from the playlist, except the one currently being played.
2008-09-19mpdclient: moved code to filelist.cMax Kellermann1-28/+2
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().
2008-09-17make several functions return voidMax Kellermann1-2/+2
2008-09-16mpdclient: moved code to playlist.cMax Kellermann1-29/+4
Move everything which manipulates the mpdclient_playlist struct to playlist.c. Many of the functions get a mpdclient pointer instead of a playlist; this will be changed later. The functions mpdclient_playlist_update() and mpdclient_playlist_update_changes() stay in mpdclient.c for now, since they are tightly connected to the client code.
2008-09-16song: use struct mpd_songMax Kellermann1-6/+6
Use a forward declared struct mpd_song instead of the typedef mpd_Song.
2008-09-16mpdclient: add struct names, for forward declarationsMax Kellermann1-4/+4
To relax the include dependencies, give all structs real names, in addition to the typedef names. This way, other headers can forward-declare them, and do not need to include mpdclient.h. In the future, the typedefs will be removed.
2008-09-16code style, indent with tabs IIMax Kellermann1-36/+30
Follow the same code style als MPD itself.
2008-09-15use GArray for playlist instead of GListMax Kellermann1-4/+1
Using a doubly linked list for the local playlist copy is a huge waste of both memory and CPU cycles. Use GArray instead of GList, which is much faster in this case.
2008-09-15include cleanupMax Kellermann1-0/+3
A header should include all headers which he needs. Move local includes on top, and let foo.c include foo.h in the first line, to automatically test its dependencies.
2008-09-15fix function prototypesMax Kellermann1-0/+4
Add missing prototypes, and fix wrong prototypes. Convert lots of functions to "static" when they are only used within the current source file.
2008-09-15const pointersMax Kellermann1-2/+2
Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
2007-02-16way too much stuff to describe hereAndreas Obergrusberger1-0/+2
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-14Added exact_match parameter to mpdclient_filelist_search()Kalle Wallin1-0/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3357 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-06Added an experimental artist (browser) screenKalle Wallin1-0/+7
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3322 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15Added a search screenKalle Wallin1-0/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-24Renamed mpd version macroKalle Wallin1-2/+10
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1643 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-22added screen_bell() for optional audible/visible bellsKalle Wallin1-0/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1612 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20Added _utf8 suffix to all functions that take utf8 arguments.Kalle Wallin1-3/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1587 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-18Added the mpdclient_cmd_add_path functionKalle Wallin1-0/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1553 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-16libmpdclient updated (r1507) - added path to mpdclient_cmd_db_update() Kalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1508 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-15git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1497 ↵Kalle Wallin1-0/+3
09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14Updated error handlingKalle Wallin1-0/+4
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1492 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14Major cleanup of the mpd client code (mpc->mpdclient)Kalle Wallin1-0/+173
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f