aboutsummaryrefslogtreecommitdiffstats
path: root/src/stored_playlist.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-22 17:21:59 +0200
committerMax Kellermann <max@duempel.org>2008-10-22 17:21:59 +0200
commitac853b6165f8c9b0caa414d4c7182715e28152f6 (patch)
tree59ef321a54a9bed5b2e1c1a45ef937f7c5780c49 /src/stored_playlist.h
parenta4def81313a3be9f511f8f4cdab77ee553b7e5a3 (diff)
downloadmpd-ac853b6165f8c9b0caa414d4c7182715e28152f6.tar.gz
mpd-ac853b6165f8c9b0caa414d4c7182715e28152f6.tar.xz
mpd-ac853b6165f8c9b0caa414d4c7182715e28152f6.zip
stored_playlist: no CamelCase
Renamed all public functions, prefix is "spl_".
Diffstat (limited to 'src/stored_playlist.h')
-rw-r--r--src/stored_playlist.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/stored_playlist.h b/src/stored_playlist.h
index e0d204e23..4f02833f1 100644
--- a/src/stored_playlist.h
+++ b/src/stored_playlist.h
@@ -24,21 +24,22 @@
struct song;
-List *loadStoredPlaylist(const char *utf8path);
+List *
+spl_load(const char *utf8path);
enum playlist_result
-moveSongInStoredPlaylistByPath(const char *utf8path, int src, int dest);
+spl_move_index(const char *utf8path, int src, int dest);
enum playlist_result
-removeAllFromStoredPlaylistByPath(const char *utf8path);
+spl_clear(const char *utf8path);
enum playlist_result
-removeOneSongFromStoredPlaylistByPath(const char *utf8path, int pos);
+spl_remove_index(const char *utf8path, int pos);
enum playlist_result
-appendSongToStoredPlaylistByPath(const char *utf8path, struct song *song);
+spl_append_song(const char *utf8path, struct song *song);
enum playlist_result
-renameStoredPlaylist(const char *utf8from, const char *utf8to);
+spl_rename(const char *utf8from, const char *utf8to);
#endif