aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapper.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* path: moved playlist_dir to mapper.cMax Kellermann2008-10-311-0/+15
| | | | | Added the function map_spl_utf8_to_fs() which replaces utf8_to_fs_playlist_path().
* 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.
* mapper: moved musicDir initialization from path.cMax Kellermann2008-10-151-0/+4
| | | | | Moved the musicDir variable and its initialization code from path.c to mapper.c.
* mapper: new song-to-filesystem mapper libraryMax Kellermann2008-10-141-0/+74
The mapper library maps directory and song objects to file system paths. With this central library, the code mixture in path.c should be cleaned up, and we will be able to add neat features like aliasing.