diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 11:07:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-08 11:07:55 +0200 |
commit | bb8a9533b1a2df4ea34be2c6f053f22fe49a60d0 (patch) | |
tree | 40fbdabccc553f9681753d2b4bc6b4aeb9760951 /src/database.h | |
parent | 7a023eb0b2d41ae0511c45449abada94df04dd7d (diff) | |
download | mpd-bb8a9533b1a2df4ea34be2c6f053f22fe49a60d0.tar.gz mpd-bb8a9533b1a2df4ea34be2c6f053f22fe49a60d0.tar.xz mpd-bb8a9533b1a2df4ea34be2c6f053f22fe49a60d0.zip |
database: renamed functions, "db_" prefix and no CamelCase
Yet another CamelCase removal patch.
Diffstat (limited to '')
-rw-r--r-- | src/database.h | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/src/database.h b/src/database.h index 03161683d..152baeb10 100644 --- a/src/database.h +++ b/src/database.h @@ -24,29 +24,35 @@ struct directory; -void directory_init(void); +void +db_init(void); -void directory_finish(void); +void +db_finish(void); struct directory * -directory_get_root(void); +db_get_root(void); struct directory * -getDirectory(const char *name); +db_get_directory(const char *name); struct song * -getSongFromDB(const char *file); +get_get_song(const char *file); -int traverseAllIn(const char *name, - int (*forEachSong) (struct song *, void *), - int (*forEachDir) (struct directory *, void *), void *data); +int db_walk(const char *name, + int (*forEachSong)(struct song *, void *), + int (*forEachDir)(struct directory *, void *), void *data); -int checkDirectoryDB(void); +int +db_check(void); -int writeDirectoryDB(void); +int +db_save(void); -int readDirectoryDB(void); +int +db_load(void); -time_t getDbModTime(void); +time_t +db_get_mtime(void); #endif |