aboutsummaryrefslogtreecommitdiffstats
path: root/src/state_file.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* state_file: added state_file_init() and state_file_finish()Max Kellermann2009-01-181-1/+6
| | | | | The constructor/destructor interface should hide the functions read_state_file() and write_state_file().
* state_file: include cleanupMax Kellermann2009-01-181-2/+0
|
* state_file: errors are non-fatal in read_state_file()Max Kellermann2009-01-031-1/+0
| | | | | If the state file cannot be read, for whatever reason, don't abort MPD. The state file isn't _that_ important.
* replaced mpd_noreturn by G_GNUC_NORETURNThomas Jansen2008-12-021-2/+2
| | | | | We want to remove gcc.h eventually. This takes care of all the G_GNUC_NORETURN macros.
* 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.
* Cleanup #includes of standard system headers and put them in one placeEric Wong2008-01-031-2/+0
| | | | | | | | | | | | | This will make refactoring features easier, especially now that pthreads support and larger refactorings are on the horizon. Hopefully, this will make porting to other platforms (even non-UNIX-like ones for masochists) easier, too. os_compat.h will house all the #includes for system headers considered to be the "core" of MPD. Headers for optional features will be left to individual source files. git-svn-id: https://svn.musicpd.org/mpd/trunk@7130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* The massive copyright updateAvuton Olrich2007-04-051-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@5834 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Standardize state_file handling routines.Eric Wong2006-07-301-0/+30
This way it's easier to manage and extend. git-svn-id: https://svn.musicpd.org/mpd/trunk@4494 09075e82-0dd4-0310-85a5-a0d7c8717e4f