aboutsummaryrefslogtreecommitdiffstats
path: root/src/stored_playlist.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-25 14:19:28 +0100
committerMax Kellermann <max@duempel.org>2009-01-25 14:19:28 +0100
commitbdfb6c239af53d72f0808fc34e15d671036e8832 (patch)
tree324009ec76b733aa56172861900accb499fad55d /src/stored_playlist.h
parent98cb8f3969de6b0151d2777b2344d6ff8fd44f1b (diff)
downloadmpd-bdfb6c239af53d72f0808fc34e15d671036e8832.tar.gz
mpd-bdfb6c239af53d72f0808fc34e15d671036e8832.tar.xz
mpd-bdfb6c239af53d72f0808fc34e15d671036e8832.zip
playlist: moved is_valid_playlist_name() to stored_playlist.c
Diffstat (limited to '')
-rw-r--r--src/stored_playlist.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stored_playlist.h b/src/stored_playlist.h
index 40372d376..45cc75644 100644
--- a/src/stored_playlist.h
+++ b/src/stored_playlist.h
@@ -22,6 +22,7 @@
#include "playlist.h"
#include <glib.h>
+#include <stdbool.h>
#include <time.h>
struct song;
@@ -41,6 +42,13 @@ void
spl_global_init(void);
/**
+ * Determines whether the specified string is a valid name for a
+ * stored playlist.
+ */
+bool
+spl_valid_name(const char *name_utf8);
+
+/**
* Returns a list of stored_playlist_info struct pointers. Returns
* NULL if an error occured.
*/