aboutsummaryrefslogtreecommitdiffstats
path: root/src/update.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* update: don't export updateDirectory()Max Kellermann2008-10-111-10/+0
| | | | | | | | If the user requests database update during startup, call directory_update_init(). This should be changed to fully asynchronous update later. For this to work, main_notify has to be initialized before db_init().
* directory: converted typedef Directory to struct directoryMax Kellermann2008-10-111-2/+2
| | | | | The struct can be forward-declared by other headers, which relaxes the header dependencies.
* update: merged exploreDirectory() into updateDirectory()Max Kellermann2008-10-111-1/+1
| | | | | | exploreDirectory() duplicates some code in updateDirectory(). Merge both functions, and use directory_is_empty() to determine whether update or explore mode should be used.
* directory: moved code to update.cMax Kellermann2008-10-111-0/+44
The source directory.c mixes several libraries: directory object management, database management and database update, resulting in a 1000+ line monster. Move the whole database update code to update.c.