diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-10-05 20:54:11 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-10-05 21:34:25 -0700 |
commit | a5f8bb82300d08568180482c93e8b9a067cc715d (patch) | |
tree | e8de505f76c6d405abdfd9064a9804e952e832e5 /src/song.h | |
parent | c344fa6a506d117f1e4c9a6213c5c94937631ff9 (diff) | |
download | mpd-a5f8bb82300d08568180482c93e8b9a067cc715d.tar.gz mpd-a5f8bb82300d08568180482c93e8b9a067cc715d.tar.xz mpd-a5f8bb82300d08568180482c93e8b9a067cc715d.zip |
song: replace printSong* with song_print_*
This make argument order more consistent for iterators.
Additionally, these now return ssize_t results for error
checking.
Diffstat (limited to '')
-rw-r--r-- | src/song.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/song.h b/src/song.h index 377a78814..3419cd43e 100644 --- a/src/song.h +++ b/src/song.h @@ -46,13 +46,13 @@ void freeSong(Song *); void freeJustSong(Song *); -int printSongInfo(int fd, Song * song); +ssize_t song_print_info(Song * song, int fd); void readSongInfoIntoList(FILE * fp, struct _Directory *parent); int updateSongInfo(Song * song); -void printSongUrl(int fd, Song * song); +ssize_t song_print_url(Song * song, int fd); /* * get_song_url - Returns a path of a song in UTF8-encoded form |