summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/osdcore.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-06-24 21:24:28 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-06-24 21:25:02 +0200
commitb3491464e41b6afea81e188fe6a350d4f778854b (patch)
tree785f855c77a0f39b62c5f44edbc285e2df495235 /src/osd/osdcore.h
parentc3d4433f39d325fdd389a7045bdeea1a1ce1d49a (diff)
This worked by pure luck (nw)
Diffstat (limited to 'src/osd/osdcore.h')
-rw-r--r--src/osd/osdcore.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osd/osdcore.h b/src/osd/osdcore.h
index 141f3db55d9..8c4b32b3a5d 100644
--- a/src/osd/osdcore.h
+++ b/src/osd/osdcore.h
@@ -319,6 +319,7 @@ namespace osd
OTHER
};
+ entry() : name(nullptr), type(entry_type::NONE), size(0) {}
const char * name; // name of the entry
entry_type type; // type of the entry
std::uint64_t size; // size of the entry
@@ -355,6 +356,9 @@ namespace osd
// present
// -----------------------------------------------------------------------------
virtual const entry *read() = 0;
+
+ protected:
+ virtual bool opendir(std::string const &dirname) = 0;
};
};