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
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ibd2a0b512bfb7caf65bfab64b271d194da520aac
diff --git a/dcmihandler.hpp b/dcmihandler.hpp
index b006ee0..81c1e0b 100644
--- a/dcmihandler.hpp
+++ b/dcmihandler.hpp
@@ -196,7 +196,7 @@
*
* @return On success return the power cap value.
*/
-uint32_t getPcap(sdbusplus::bus::bus& bus);
+uint32_t getPcap(sdbusplus::bus_t& bus);
/** @brief Check if the power capping is enabled
*
@@ -205,7 +205,7 @@
* @return true if the powerCap is enabled and false if the powercap
* is disabled.
*/
-bool getPcapEnabled(sdbusplus::bus::bus& bus);
+bool getPcapEnabled(sdbusplus::bus_t& bus);
/** @struct GetPowerLimitResponse
*
@@ -226,7 +226,7 @@
* @param[in] bus - dbus connection
* @param[in] powerCap - power cap value
*/
-void setPcap(sdbusplus::bus::bus& bus, const uint32_t powerCap);
+void setPcap(sdbusplus::bus_t& bus, const uint32_t powerCap);
/** @struct SetPowerLimitRequest
*
@@ -248,7 +248,7 @@
* @param[in] bus - dbus connection
* @param[in] enabled - enable/disable
*/
-void setPcapEnable(sdbusplus::bus::bus& bus, bool enabled);
+void setPcapEnable(sdbusplus::bus_t& bus, bool enabled);
/** @struct ApplyPowerLimitRequest
*
@@ -474,7 +474,7 @@
*
* @return total power reading
*/
-int64_t getPowerReading(sdbusplus::bus::bus& bus);
+int64_t getPowerReading(sdbusplus::bus_t& bus);
/** @struct GetPowerReadingRequest
*