aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateIO.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/UpdateIO.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/UpdateIO.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/UpdateIO.cxx b/src/UpdateIO.cxx
index 200a6136d..2aee56514 100644
--- a/src/UpdateIO.cxx
+++ b/src/UpdateIO.cxx
@@ -29,7 +29,7 @@
#include <unistd.h>
int
-stat_directory(const struct directory *directory, struct stat *st)
+stat_directory(const Directory *directory, struct stat *st)
{
char *path_fs = map_directory_fs(directory);
if (path_fs == NULL)
@@ -44,7 +44,7 @@ stat_directory(const struct directory *directory, struct stat *st)
}
int
-stat_directory_child(const struct directory *parent, const char *name,
+stat_directory_child(const Directory *parent, const char *name,
struct stat *st)
{
char *path_fs = map_directory_child_fs(parent, name);
@@ -60,7 +60,7 @@ stat_directory_child(const struct directory *parent, const char *name,
}
bool
-directory_exists(const struct directory *directory)
+directory_exists(const Directory *directory)
{
char *path_fs = map_directory_fs(directory);
if (path_fs == NULL)
@@ -79,7 +79,7 @@ directory_exists(const struct directory *directory)
}
bool
-directory_child_is_regular(const struct directory *directory,
+directory_child_is_regular(const Directory *directory,
const char *name_utf8)
{
char *path_fs = map_directory_child_fs(directory, name_utf8);
@@ -94,7 +94,7 @@ directory_child_is_regular(const struct directory *directory,
}
bool
-directory_child_access(const struct directory *directory,
+directory_child_access(const Directory *directory,
const char *name, int mode)
{
#ifdef WIN32