diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 11:05:34 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-08 11:05:34 +0200 |
commit | 5e7b18f87458b3f7a65d23d87f7db3d864fbbf11 (patch) | |
tree | 2a1dd46bcff693de6849d31f204de554158de374 /src/song.h | |
parent | 5e4be9e495677a6728e3161e39a05a081a5bff9a (diff) | |
download | mpd-5e7b18f87458b3f7a65d23d87f7db3d864fbbf11.tar.gz mpd-5e7b18f87458b3f7a65d23d87f7db3d864fbbf11.tar.xz mpd-5e7b18f87458b3f7a65d23d87f7db3d864fbbf11.zip |
song: removed CamelCase
CamelCase is ugly... rename all functions.
Diffstat (limited to 'src/song.h')
-rw-r--r-- | src/song.h | 12 |
1 files changed, 6 insertions, 6 deletions
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 |