aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
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/command.c
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/command.c')
-rw-r--r--src/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command.c b/src/command.c
index 45daa8fad..17ee7dbed 100644
--- a/src/command.c
+++ b/src/command.c
@@ -544,7 +544,7 @@ static int handleRename(struct client *client,
{
enum playlist_result result;
- result = renameStoredPlaylist(argv[1], argv[2]);
+ result = spl_rename(argv[1], argv[2]);
return print_playlist_result(client, result);
}
@@ -718,7 +718,7 @@ static int handlePlaylistDelete(struct client *client,
if (check_int(client, &from, argv[2], check_integer, argv[2]) < 0)
return -1;
- result = removeOneSongFromStoredPlaylistByPath(playlist, from);
+ result = spl_remove_index(playlist, from);
return print_playlist_result(client, result);
}
@@ -734,7 +734,7 @@ static int handlePlaylistMove(struct client *client,
if (check_int(client, &to, argv[3], check_integer, argv[3]) < 0)
return -1;
- result = moveSongInStoredPlaylistByPath(playlist, from, to);
+ result = spl_move_index(playlist, from, to);
return print_playlist_result(client, result);
}