summaryrefslogtreecommitdiffstats
path: root/writefrudata.hpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-21 09:07:11 -0700
committerPatrick Venture <venture@google.com>2018-10-29 09:08:53 -0700
commita8093a25525555c48ca092e5130f7ff7ffa38006 (patch)
tree19ea38787f9ba3014480491d8747f6aab91f55be /writefrudata.hpp
parentc7eecc19632571319e39ab8e9f7500f7a5d1b245 (diff)
downloadipmi-fru-parser-a8093a25525555c48ca092e5130f7ff7ffa38006.tar.gz
ipmi-fru-parser-a8093a25525555c48ca092e5130f7ff7ffa38006.zip
update: use sdbusplus instead of sd_bus raw pointers
Update code to use sdbusplus instead of raw sd_bus pointers. Change-Id: I80cd4492480824827c27fbf19eb54487e28d3b75 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'writefrudata.hpp')
-rw-r--r--writefrudata.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/writefrudata.hpp b/writefrudata.hpp
index e713bd5..072d4d3 100644
--- a/writefrudata.hpp
+++ b/writefrudata.hpp
@@ -1,7 +1,7 @@
#ifndef __IPMI_WRITE_FRU_DATA_H__
#define __IPMI_WRITE_FRU_DATA_H__
-#include <systemd/sd-bus.h>
+#include <sdbusplus/bus.hpp>
// IPMI commands for Storage net functions.
enum ipmi_netfn_storage_cmds
@@ -46,10 +46,10 @@ struct common_header
*
* @param[in] fruid - The ID to use for this FRU.
* @param[in] fru_file_name - the filename of the FRU.
- * @param[in] bus_type - a systemd bus for publishing the information.
+ * @param[in] bus - an sdbusplus systemd bus for publishing the information.
* @param[in] bmc_fru - If a particular area accessible only by BMC.
*/
int validateFRUArea(const uint8_t fruid, const char* fru_file_name,
- sd_bus* bus_type, const bool bmc_fru);
+ sdbusplus::bus::bus& bus, const bool bmc_fru);
#endif
OpenPOWER on IntegriCloud