aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 11:05:34 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 11:05:34 +0200
commit5e7b18f87458b3f7a65d23d87f7db3d864fbbf11 (patch)
tree2a1dd46bcff693de6849d31f204de554158de374 /src/song.h
parent5e4be9e495677a6728e3161e39a05a081a5bff9a (diff)
downloadmpd-5e7b18f87458b3f7a65d23d87f7db3d864fbbf11.tar.gz
mpd-5e7b18f87458b3f7a65d23d87f7db3d864fbbf11.tar.xz
mpd-5e7b18f87458b3f7a65d23d87f7db3d864fbbf11.zip
song: removed CamelCase
CamelCase is ugly... rename all functions.
Diffstat (limited to '')
-rw-r--r--src/song.h12
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