summaryrefslogtreecommitdiff
path: root/playlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'playlist.h')
-rw-r--r--playlist.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/playlist.h b/playlist.h
index c168c4aa..b3ea7925 100644
--- a/playlist.h
+++ b/playlist.h
@@ -55,7 +55,7 @@ typedef struct playItem_s {
unsigned in_playlist : 1; // 1 if item is in playlist
} playItem_t;
-typedef struct playlist_s{
+typedef struct playlist_s {
char *title;
playItem_t *head[PL_MAX_ITERATORS]; // head of linked list
playItem_t *tail[PL_MAX_ITERATORS]; // tail of linked list
@@ -82,6 +82,9 @@ plt_set_curr (int plt);
int
plt_get_curr (void);
+const char *
+plt_get_title (int plt);
+
playlist_t *
plt_get_curr_ptr (void);