Code

mpdclient: added mpdclient_playlist_init(), mpdclient_playlist_clear()
authorMax Kellermann <max@duempel.org>
Tue, 16 Sep 2008 17:11:39 +0000 (19:11 +0200)
committerMax Kellermann <max@duempel.org>
Tue, 16 Sep 2008 17:11:39 +0000 (19:11 +0200)
commita6858acfdead6285a010a31b1fc7c8a730e91788
tree3b698b3b2cdfedf680f5ee51f3802f82030ae23a
parenteee102e5ddd2c400d707bffe21d9c6ec74507371
mpdclient: added mpdclient_playlist_init(), mpdclient_playlist_clear()

Moved code from mpdclient_new() and mpdclient_playlist_free().  In
mpdclient_disconnect(), call mpdclient_playlist_clear() instead of
mpdclient_playlist_free() (which is now called in mpdclient_free()).
src/mpdclient.c
src/playlist.c
src/playlist.h