sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are for:
* bus_t
* exception_t
* manager_t
* match_t
* message_t
* object_t
* slot_t
Change-Id: I02e8e49b245f1f42d10983fee65f05efc5326fc7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/dump-extensions/openpower-dumps/op_dump_util.hpp b/dump-extensions/openpower-dumps/op_dump_util.hpp
index 695fcd5..fcdebd6 100644
--- a/dump-extensions/openpower-dumps/op_dump_util.hpp
+++ b/dump-extensions/openpower-dumps/op_dump_util.hpp
@@ -17,7 +17,7 @@
* the dumps are enabled.
* @return true - if dumps are enabled, false - if dumps are not enabled
*/
-bool isOPDumpsEnabled(sdbusplus::bus::bus& bus);
+bool isOPDumpsEnabled(sdbusplus::bus_t& bus);
using BIOSAttrValueType = std::variant<int64_t, std::string>;
@@ -31,7 +31,7 @@
* @throws sdbusplus::exception::SdBusError if failed to read the attribute
*/
BIOSAttrValueType readBIOSAttribute(const std::string& attrName,
- sdbusplus::bus::bus& bus);
+ sdbusplus::bus_t& bus);
/** @brief Check whether a system is in progress or available to offload.
*
@@ -40,7 +40,7 @@
* @return true - A dump is in progress or available to offload
* false - No dump in progress
*/
-bool isSystemDumpInProgress(sdbusplus::bus::bus& bus);
+bool isSystemDumpInProgress(sdbusplus::bus_t& bus);
} // namespace util
} // namespace dump
} // namespace openpower