aboutsummaryrefslogtreecommitdiffstats
path: root/src/stored_playlist.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-23 09:54:28 +0200
committerMax Kellermann <max@duempel.org>2008-10-23 09:54:28 +0200
commit39f0c41fbf94f2ac078478867ff95a92a62480fb (patch)
treecedd79631c8a7dc61cfd5f68e419aaf4c4e37ac9 /src/stored_playlist.h
parente172874cc65f39e79ae895d35382d2fa3061d3dd (diff)
downloadmpd-39f0c41fbf94f2ac078478867ff95a92a62480fb.tar.gz
mpd-39f0c41fbf94f2ac078478867ff95a92a62480fb.tar.xz
mpd-39f0c41fbf94f2ac078478867ff95a92a62480fb.zip
stored_playlist: spl_load() returns GPtrArray
Don't use our deprecated linked list library, use GLib's GPtrArray instead.
Diffstat (limited to 'src/stored_playlist.h')
-rw-r--r--src/stored_playlist.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stored_playlist.h b/src/stored_playlist.h
index 4841ca80e..8ba756853 100644
--- a/src/stored_playlist.h
+++ b/src/stored_playlist.h
@@ -19,7 +19,6 @@
#ifndef MPD_STORED_PLAYLIST_H
#define MPD_STORED_PLAYLIST_H
-#include "list.h"
#include "playlist.h"
#include <glib.h>
@@ -42,9 +41,12 @@ spl_list(void);
void
spl_list_free(GPtrArray *list);
-List *
+GPtrArray *
spl_load(const char *utf8path);
+void
+spl_free(GPtrArray *list);
+
enum playlist_result
spl_move_index(const char *utf8path, unsigned src, unsigned dest);