Code

mpdclient: added mpdclient_playlist_init(), mpdclient_playlist_clear()
[ncmpc.git] / src / playlist.h
index 2d2a353a68b9737f74845a46dabdaf9ec30a6ceb..946ca631c44b6138ec78d911f90510a9fb55894c 100644 (file)
@@ -39,6 +39,13 @@ typedef struct mpdclient_playlist {
        GArray *list;
 } mpdclient_playlist_t;
 
+void
+playlist_init(struct mpdclient_playlist *playlist);
+
+/** remove and free all songs in the playlist */
+void
+playlist_clear(struct mpdclient_playlist *playlist);
+
 /* free a playlist */
 gint mpdclient_playlist_free(mpdclient_playlist_t *playlist);