aboutsummaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-08 13:22:13 +0100
committerMax Kellermann <max@duempel.org>2014-02-08 13:22:13 +0100
commit9906daeca71b7e552721f85f3696d9e6a20f7a5b (patch)
tree89c934549bbfb4eb7051fa9af868d4fd4014a001 /src/db
parent5fb54095d22e38662383fc73bc1af56da357756c (diff)
downloadmpd-9906daeca71b7e552721f85f3696d9e6a20f7a5b.tar.gz
mpd-9906daeca71b7e552721f85f3696d9e6a20f7a5b.tar.xz
mpd-9906daeca71b7e552721f85f3696d9e6a20f7a5b.zip
ArchivePlugin: rename struct archive_plugin to ArchivePlugin
Diffstat (limited to 'src/db')
-rw-r--r--src/db/update/Archive.cxx5
-rw-r--r--src/db/update/Walk.hxx4
2 files changed, 4 insertions, 5 deletions
diff --git a/src/db/update/Archive.cxx b/src/db/update/Archive.cxx
index 940448921..300922064 100644
--- a/src/db/update/Archive.cxx
+++ b/src/db/update/Archive.cxx
@@ -105,7 +105,7 @@ class UpdateArchiveVisitor final : public ArchiveVisitor {
void
UpdateWalk::UpdateArchiveFile(Directory &parent, const char *name,
const FileInfo &info,
- const archive_plugin &plugin)
+ const ArchivePlugin &plugin)
{
db_lock();
Directory *directory = parent.FindChild(name);
@@ -158,8 +158,7 @@ UpdateWalk::UpdateArchiveFile(Directory &directory,
const char *name, const char *suffix,
const FileInfo &info)
{
- const struct archive_plugin *plugin =
- archive_plugin_from_suffix(suffix);
+ const ArchivePlugin *plugin = archive_plugin_from_suffix(suffix);
if (plugin == nullptr)
return false;
diff --git a/src/db/update/Walk.hxx b/src/db/update/Walk.hxx
index 2bd56b067..bf3eb8ae4 100644
--- a/src/db/update/Walk.hxx
+++ b/src/db/update/Walk.hxx
@@ -28,7 +28,7 @@
struct stat;
struct FileInfo;
struct Directory;
-struct archive_plugin;
+struct ArchivePlugin;
class Storage;
class ExcludeList;
@@ -93,7 +93,7 @@ private:
void UpdateArchiveFile(Directory &directory, const char *name,
const FileInfo &info,
- const archive_plugin &plugin);
+ const ArchivePlugin &plugin);
#else