aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_print.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* song_print: song_print() returns voidMax Kellermann2010-02-081-2/+3
| | | | The only "return" statement always returns 0.
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* song: renamed attribute "url" to "uri"Max Kellermann2009-10-131-1/+1
|
* all: Update copyright header.Avuton Olrich2009-03-131-6/+7
| | | | | | | | This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
* added prefix to header macrosMax Kellermann2008-10-311-2/+2
| | | | | | | "LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD.
* song: converted typedef Song to struct songMax Kellermann2008-10-081-4/+6
| | | | Again, a data type which can be forward-declared.
* song: replace printSong* with song_print_*Eric Wong2008-10-071-2/+2
| | | | | | 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-1/+3
| | | | | | | 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-3/+3
| | | | | | 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/+30
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.