From 5e7b18f87458b3f7a65d23d87f7db3d864fbbf11 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Oct 2008 11:05:34 +0200 Subject: song: removed CamelCase CamelCase is ugly... rename all functions. --- src/song.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/song.h') diff --git a/src/song.h b/src/song.h index c3b79f966..065b0a1bf 100644 --- a/src/song.h +++ b/src/song.h @@ -31,7 +31,7 @@ struct song { struct tag *tag; - struct directory *parentDir; + struct directory *parent; time_t mtime; char url[sizeof(int)]; }; @@ -53,24 +53,24 @@ struct song * song_file_load(const char *path, struct directory *parent); void -freeJustSong(struct song *); +song_free(struct song *song); int -updateSongInfo(struct song *song); +song_file_update(struct song *song); /* - * get_song_url - Returns a path of a song in UTF8-encoded form + * song_get_url - Returns a path of a song in UTF8-encoded form * path_max_tmp is the argument that the URL is written to, this * buffer is assumed to be MPD_PATH_MAX or greater (including * terminating '\0'). */ char * -get_song_url(char *path_max_tmp, struct song *song); +song_get_url(struct song *song, char *path_max_tmp); static inline bool song_is_file(const struct song *song) { - return song->parentDir != NULL; + return song->parent != NULL; } #endif -- cgit v1.2.3