diff options
Diffstat (limited to 'src/stored_playlist.h')
-rw-r--r-- | src/stored_playlist.h | 8 |
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. */ |