database: renamed functions, "db_" prefix and no CamelCase

Yet another CamelCase removal patch.
This commit is contained in:
Max Kellermann
2008-10-08 11:07:55 +02:00
parent 7a023eb0b2
commit bb8a9533b1
11 changed files with 79 additions and 68 deletions

View File

@@ -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