aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist.h')
-rw-r--r--src/playlist.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/playlist.h b/src/playlist.h
index 2d2a353a6..946ca631c 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -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);