diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 11:07:55 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-10-11 19:21:48 -0700 |
commit | 4629f646077109f7c6185aab92560da52c237412 (patch) | |
tree | af62c1fd2d29c53d137f8b390682492bf0ef102d /src/directory.h | |
parent | 0576b8abf8b2fd25105f6e0190a93ddec298e9fb (diff) | |
download | mpd-4629f646077109f7c6185aab92560da52c237412.tar.gz mpd-4629f646077109f7c6185aab92560da52c237412.tar.xz mpd-4629f646077109f7c6185aab92560da52c237412.zip |
database: renamed functions, "db_" prefix and no CamelCase
Yet another CamelCase removal patch.
Diffstat (limited to '')
-rw-r--r-- | src/directory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/directory.h b/src/directory.h index 84913c036..5401fc98c 100644 --- a/src/directory.h +++ b/src/directory.h @@ -70,7 +70,7 @@ getSubDirectory(struct directory *directory, const char *name); int directory_print(int fd, const struct directory *directory); -struct mpd_song *getSongFromDB(const char *file); +struct mpd_song *db_get_song(const char *file); int writeDirectoryInfo(int fd, struct directory *directory); @@ -78,7 +78,7 @@ void readDirectoryInfo(FILE *fp, struct directory *directory); void sortDirectory(struct directory * directory); -int traverseAllIn(const char *name, +int db_walk(const char *name, int (*forEachSong) (struct mpd_song *, void *), int (*forEachDir) (struct directory *, void *), void *data); |