aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateArchive.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-02 23:06:20 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 01:10:47 +0100
commit3e8047e5831b4cc7dabae596746066698ad7c8cd (patch)
tree51cf8e3cc3b5b373f11ffbd6d7c0b34b3c0acb6c /src/UpdateArchive.cxx
parent440ac51cf0250904813dfc9398ca8c9e6467328f (diff)
downloadmpd-3e8047e5831b4cc7dabae596746066698ad7c8cd.tar.gz
mpd-3e8047e5831b4cc7dabae596746066698ad7c8cd.tar.xz
mpd-3e8047e5831b4cc7dabae596746066698ad7c8cd.zip
Directory: rename struct directory to Directory
Diffstat (limited to '')
-rw-r--r--src/UpdateArchive.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/UpdateArchive.cxx b/src/UpdateArchive.cxx
index d0d180fdd..72f7aaf19 100644
--- a/src/UpdateArchive.cxx
+++ b/src/UpdateArchive.cxx
@@ -35,14 +35,14 @@ extern "C" {
#include <string.h>
static void
-update_archive_tree(struct directory *directory, char *name)
+update_archive_tree(Directory *directory, char *name)
{
char *tmp = strchr(name, '/');
if (tmp) {
*tmp = 0;
//add dir is not there already
db_lock();
- struct directory *subdir =
+ Directory *subdir =
directory->MakeChild(name);
subdir->device = DEVICE_INARCHIVE;
db_unlock();
@@ -82,12 +82,12 @@ update_archive_tree(struct directory *directory, char *name)
* @param plugin the archive plugin which fits this archive type
*/
static void
-update_archive_file2(struct directory *parent, const char *name,
+update_archive_file2(Directory *parent, const char *name,
const struct stat *st,
const struct archive_plugin *plugin)
{
db_lock();
- directory *directory = parent->FindChild(name);
+ Directory *directory = parent->FindChild(name);
db_unlock();
if (directory != NULL && directory->mtime == st->st_mtime &&
@@ -136,7 +136,7 @@ update_archive_file2(struct directory *parent, const char *name,
}
bool
-update_archive_file(struct directory *directory,
+update_archive_file(Directory *directory,
const char *name, const char *suffix,
const struct stat *st)
{