aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* database: use stdboolMax Kellermann2009-01-041-3/+4
| | | | Make db_load(), db_save() and db_check() return bool instead of int.
* database: db_init() initializes library, does not updateMax Kellermann2009-01-041-0/+13
| | | | | For updating the database, directory_update_init() should be called explicitly.
* 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.
* database: renamed get_get_song() to db_get_song()Max Kellermann2008-10-091-1/+1
| | | | Search'n'replace typo..
* database: renamed functions, "db_" prefix and no CamelCaseMax Kellermann2008-10-081-12/+18
| | | | Yet another CamelCase removal patch.
* database: removed printDirectoryInfo()Max Kellermann2008-10-081-3/+0
| | | | The same can be achieved with directory_print(db_get_directory()).
* directory: moved code to database.cMax Kellermann2008-10-081-0/+55
Taming the directory.c monster, part II: move the database management stuff to database. directory.c should only contain code which works on directory objects.