From ac853b6165f8c9b0caa414d4c7182715e28152f6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Oct 2008 17:21:59 +0200 Subject: stored_playlist: no CamelCase Renamed all public functions, prefix is "spl_". --- src/command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/command.c') 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); } -- cgit v1.2.3