summaryrefslogtreecommitdiff
path: root/src/song_save.h
AgeCommit message (Collapse)Author
2008-10-31added prefix to header macrosMax Kellermann
"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.
2008-10-08song: converted typedef Song to struct songMax Kellermann
Again, a data type which can be forward-declared.
2008-10-08directory: converted typedef Directory to struct directoryMax Kellermann
The struct can be forward-declared by other headers, which relaxes the header dependencies.
2008-09-23Replace SongList with struct songvecEric Wong
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).
2008-09-07song: moved code to song_print.c, song_save.cMax Kellermann
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.