diff options
Diffstat (limited to 'src/playlist_print.h')
-rw-r--r-- | src/playlist_print.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/playlist_print.h b/src/playlist_print.h index bbb2e8adc..b3a0446ed 100644 --- a/src/playlist_print.h +++ b/src/playlist_print.h @@ -101,4 +101,15 @@ playlist_print_changes_position(struct client *client, bool spl_print(struct client *client, const char *name_utf8, bool detail); +/** + * Send the playlist file to the client. + * + * @param client the client which requested the playlist + * @param uri the URI of the playlist file in UTF-8 encoding + * @param detail true if all details should be printed + * @return true on success, false if the playlist does not exist + */ +bool +playlist_file_print(struct client *client, const char *uri, bool detail); + #endif |