aboutsummaryrefslogtreecommitdiffstats
path: root/src/stored_playlist.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* playlist: moved is_valid_playlist_name() to stored_playlist.cMax Kellermann2009-01-251-0/+8
|
* stored_playlist: moved configuration variables from playlist.cMax Kellermann2009-01-251-0/+8
| | | | | Don't declare and export variables specific to stored playlists in playlist.c/playlist.h.
* stored_playlist: include time.h for the time_t typeMax Kellermann2008-12-041-0/+1
| | | | | On some systems, the time_t data type was not present, because stored_playlist.h didn't include the time.h header directly.
* stored_playlist: renamed and moved spl_delete() to stored_playlist.cMax Kellermann2008-10-231-0/+3
| | | | The function deletePlaylist() shouldn't be in playlist.c.
* stored_playlist: spl_load() returns GPtrArrayMax Kellermann2008-10-231-2/+4
| | | | | Don't use our deprecated linked list library, use GLib's GPtrArray instead.
* stored_playlist: unsigned index argumentsMax Kellermann2008-10-231-2/+2
| | | | | | Pass index arguments as unsigned integers. They must not be negative, and even if some caller accidently passes -1, it won't pass the bound checks (since it's now 2**32-1).
* stored_playlist: added spl_list()Max Kellermann2008-10-221-0/+18
| | | | | | spl_list() provides an interface for enumerating all stored playlists. This separates the internal playlist logic from the protocol specific function lsPlaylists().
* stored_playlist: spl_append_uri() returns enum playlist_resultMax Kellermann2008-10-221-1/+1
| | | | | The return value of spl_append_uri() was somewhat buggy: some branches returned ACK_* values, and some an enum playlist_result. Unify this.
* stored_playlist: de-CamelCase moved functionMax Kellermann2008-10-221-3/+2
| | | | | Rename addToStoredPlaylist() to spl_append_uri(), and remove the clearStoredPlaylist() macro.
* stored_playlist: moved functions from playlist.cMax Kellermann2008-10-221-0/+4
| | | | | | The two functions clearStoredPlaylist() and addToStoredPlaylist() don't belong into playlist.c. clearStoredPlaylist() was a wrapper for spl_clear(), and is converted into a CPP macro for now.
* stored_playlist: no CamelCaseMax Kellermann2008-10-221-6/+7
| | | | Renamed all public functions, prefix is "spl_".
* renamed storedPlaylist.c to stored_playlist.cMax Kellermann2008-10-221-0/+44
No CamelCase in file names.