aboutsummaryrefslogtreecommitdiffstats
path: root/src/stored_playlist.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stored_playlist.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/stored_playlist.h b/src/stored_playlist.h
index 637a1093d..f524829df 100644
--- a/src/stored_playlist.h
+++ b/src/stored_playlist.h
@@ -22,8 +22,26 @@
#include "list.h"
#include "playlist.h"
+#include <glib.h>
+
struct song;
+struct stored_playlist_info {
+ char *name;
+
+ time_t mtime;
+};
+
+/**
+ * Returns a list of stored_playlist_info struct pointers. Returns
+ * NULL if an error occured.
+ */
+GPtrArray *
+spl_list(void);
+
+void
+spl_list_free(GPtrArray *list);
+
List *
spl_load(const char *utf8path);