diff options
author | Max Kellermann <max@duempel.org> | 2014-02-05 17:03:43 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-05 18:53:51 +0100 |
commit | 0ba1b73395dc7beaa27ed9bb07636970243b76e6 (patch) | |
tree | ce55bfc2eff1cf7fbcd8d2cc02e85bf2e6b53c46 /src/db/update/UpdateIO.hxx | |
parent | 4c995eb49873eac081486a94c6ed8db566248563 (diff) | |
download | mpd-0ba1b73395dc7beaa27ed9bb07636970243b76e6.tar.gz mpd-0ba1b73395dc7beaa27ed9bb07636970243b76e6.tar.xz mpd-0ba1b73395dc7beaa27ed9bb07636970243b76e6.zip |
storage: add abstract interface
Prepare for the plugin interface.
Diffstat (limited to '')
-rw-r--r-- | src/db/update/UpdateIO.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/db/update/UpdateIO.hxx b/src/db/update/UpdateIO.hxx index d5cbb2a5b..2dbb4ae83 100644 --- a/src/db/update/UpdateIO.hxx +++ b/src/db/update/UpdateIO.hxx @@ -25,30 +25,30 @@ struct Directory; struct FileInfo; -class LocalStorage; -class LocalDirectoryReader; +class Storage; +class StorageDirectoryReader; /** - * Wrapper for LocalStorage::GetInfo() that logs errors instead of + * Wrapper for Storage::GetInfo() that logs errors instead of * returning them. */ bool -GetInfo(LocalStorage &storage, const char *uri_utf8, FileInfo &info); +GetInfo(Storage &storage, const char *uri_utf8, FileInfo &info); /** * Wrapper for LocalDirectoryReader::GetInfo() that logs errors * instead of returning them. */ bool -GetInfo(LocalDirectoryReader &reader, FileInfo &info); +GetInfo(StorageDirectoryReader &reader, FileInfo &info); gcc_pure bool -DirectoryExists(LocalStorage &storage, const Directory &directory); +DirectoryExists(Storage &storage, const Directory &directory); gcc_pure bool -directory_child_is_regular(LocalStorage &storage, const Directory &directory, +directory_child_is_regular(Storage &storage, const Directory &directory, const char *name_utf8); /** @@ -56,7 +56,7 @@ directory_child_is_regular(LocalStorage &storage, const Directory &directory, */ gcc_pure bool -directory_child_access(LocalStorage &storage, const Directory &directory, +directory_child_access(Storage &storage, const Directory &directory, const char *name, int mode); #endif |