aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory_save.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* db_save, state_file: convert to C++Max Kellermann2013-01-021-37/+0
|
* directory_save: pass const pointer to _save()Max Kellermann2011-09-101-1/+1
|
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* database: I/O error handling in db_save()Max Kellermann2009-11-071-1/+1
| | | | Check ferror() instead of the fprintf() return value.
* text_file: allocate line buffers dynamicallyMax Kellermann2009-11-011-1/+2
| | | | | | | Use a single GString buffer object in all functions loading the database. Enlarge it automatically for long lines. This eliminates the maximum line length for tag values. There is still an upper limit of 512 kB to prevent denial of service, but that's reasonable I guess.
* 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.
* directory: directory_load() returns GErrorMax Kellermann2009-03-021-2/+5
| | | | Do error reporting with GLib's GError library in this library, too.
* 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.
* diretory: moved code to directory_save.c, directory_print.cMax Kellermann2008-10-091-0/+32
Remove clutter from directory.c. Everything which saves or loads to/from the hard disk goes to directory_save.c, and code which sends directory information to the client is moved into directory_print.c.