From bdfb6c239af53d72f0808fc34e15d671036e8832 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 25 Jan 2009 14:19:28 +0100 Subject: playlist: moved is_valid_playlist_name() to stored_playlist.c --- src/stored_playlist.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/stored_playlist.h') 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 +#include #include struct song; @@ -40,6 +41,13 @@ extern bool playlist_saveAbsolutePaths; 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. -- cgit v1.2.3