From 9bda68824ebd1b87d5ab28802ab4c310bc9d148a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 6 Oct 2008 01:44:53 -0700 Subject: song: add print_song_info_x for iterators tha pass void * traverseAllIn will be modified to take < 0 as errors instead of non-zero... --- src/song.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/song.h') diff --git a/src/song.h b/src/song.h index 3419cd43e..e65f70f38 100644 --- a/src/song.h +++ b/src/song.h @@ -48,6 +48,9 @@ void freeJustSong(Song *); ssize_t song_print_info(Song * song, int fd); +/* like song_print_info, but casts data into an fd first */ +int song_print_info_x(Song * song, void *data); + void readSongInfoIntoList(FILE * fp, struct _Directory *parent); int updateSongInfo(Song * song); -- cgit v1.2.3