aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_print.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* song: replace printSong* with song_print_*Eric Wong2008-10-071-4/+4
| | | | | | This make argument order more consistent for iterators. Additionally, these now return ssize_t results for error checking.
* Replace SongList with struct songvecEric Wong2008-09-231-6/+7
| | | | | | | Our linked-list implementation is wasteful and the SongList isn't modified enough to benefit from being a linked list. So use a more compact array of song pointers which saves ~200K on a library with ~9K songs (on x86-32).
* pass "struct client" to dbUtils.c, song.c, tag_print.cMax Kellermann2008-09-071-10/+10
| | | | | | Don't pass the raw file descriptor around. This migration patch is rather large, because all of the sources have inter dependencies - we have to change all of them at the same time.
* song: moved code to song_print.c, song_save.cMax Kellermann2008-09-071-0/+54
Move everything which dumps song information (via tag_print.c) to a separate source file. song_print.c gets code which writes song data to the client; song_save.c is responsible for serializing songs from the tag cache.