summaryrefslogtreecommitdiffstats
path: root/elog_entry.hpp
diff options
context:
space:
mode:
authorNagaraju Goruganti <ngorugan@in.ibm.com>2017-08-30 07:56:12 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-09-13 10:37:03 +0000
commit05aae8bc28cd81cdfea29eaa3cdb89b817b03faf (patch)
treef0e0836410a0c27f177241e54493df2444b5b858 /elog_entry.hpp
parentdb18ebe01d588a128aebbd7b1bb8767cfb46b1e9 (diff)
downloadphosphor-logging-05aae8bc28cd81cdfea29eaa3cdb89b817b03faf.tar.gz
phosphor-logging-05aae8bc28cd81cdfea29eaa3cdb89b817b03faf.zip
Add implementation for delete all error log entries in one shot
Resolves openbmc/openbmc#1561. Change-Id: Iac5aaee1bdf9b87ccce9bf8801468ac5a8f9be6c Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
Diffstat (limited to 'elog_entry.hpp')
-rw-r--r--elog_entry.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/elog_entry.hpp b/elog_entry.hpp
index b3d5963..24d93cf 100644
--- a/elog_entry.hpp
+++ b/elog_entry.hpp
@@ -19,7 +19,10 @@ using EntryIfaces = sdbusplus::server::object::object<
using AssociationList =
std::vector<std::tuple<std::string, std::string, std::string>>;
+namespace internal
+{
class Manager;
+}
/** @class Entry
* @brief OpenBMC logging entry implementation.
@@ -57,7 +60,7 @@ class Entry : public EntryIfaces
std::string&& msgErr,
std::vector<std::string>&& additionalDataErr,
AssociationList&& objects,
- Manager& parent) :
+ internal::Manager& parent) :
EntryIfaces(bus, path.c_str(), true),
parent(parent)
{
@@ -87,7 +90,7 @@ class Entry : public EntryIfaces
Entry(sdbusplus::bus::bus& bus,
const std::string& path,
uint32_t entryId,
- Manager& parent) :
+ internal::Manager& parent) :
EntryIfaces(bus, path.c_str(), true),
parent(parent)
{
@@ -113,7 +116,7 @@ class Entry : public EntryIfaces
AssociationList assocs = {};
/** @brief This entry's parent */
- Manager& parent;
+ internal::Manager& parent;
};
} // namespace logging
OpenPOWER on IntegriCloud