diff options
author | Max Kellermann <max@duempel.org> | 2013-10-19 18:48:38 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-19 18:48:38 +0200 |
commit | ff626ac76357940b2f0ac5cb243a68ac13df0f8a (patch) | |
tree | 493888a28950f75f5e254c0ded9dc9703ee83dc3 /src/UpdateIO.hxx | |
parent | 59f8144c50765189594d5932fc25869f9ea6e265 (diff) | |
download | mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.tar.gz mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.tar.xz mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.zip |
*: use references instead of pointers
Diffstat (limited to 'src/UpdateIO.hxx')
-rw-r--r-- | src/UpdateIO.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/UpdateIO.hxx b/src/UpdateIO.hxx index ee47b2682..9d6c197f2 100644 --- a/src/UpdateIO.hxx +++ b/src/UpdateIO.hxx @@ -27,24 +27,24 @@ struct Directory; int -stat_directory(const Directory *directory, struct stat *st); +stat_directory(const Directory &directory, struct stat *st); int -stat_directory_child(const Directory *parent, const char *name, +stat_directory_child(const Directory &parent, const char *name, struct stat *st); bool -directory_exists(const Directory *directory); +directory_exists(const Directory &directory); bool -directory_child_is_regular(const Directory *directory, +directory_child_is_regular(const Directory &directory, const char *name_utf8); /** * Checks if the given permissions on the mapped file are given. */ bool -directory_child_access(const Directory *directory, +directory_child_access(const Directory &directory, const char *name, int mode); #endif |