Matt Spinler | 2a28c93 | 2020-02-03 14:23:40 -0600 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include <map> |
| 4 | #include <sdbusplus/bus.hpp> |
| 5 | #include <string> |
| 6 | #include <variant> |
| 7 | #include <vector> |
| 8 | |
| 9 | namespace openpower::pels |
| 10 | { |
| 11 | |
| 12 | using DBusValue = |
| 13 | sdbusplus::message::variant<std::string, bool, std::vector<uint8_t>>; |
| 14 | using DBusProperty = std::string; |
| 15 | using DBusInterface = std::string; |
| 16 | using DBusService = std::string; |
| 17 | using DBusPath = std::string; |
| 18 | using DBusInterfaceList = std::vector<DBusInterface>; |
| 19 | using DBusPathList = std::vector<DBusPath>; |
| 20 | using DBusPropertyMap = std::map<DBusProperty, DBusValue>; |
| 21 | using DBusInterfaceMap = std::map<DBusInterface, DBusPropertyMap>; |
| 22 | |
| 23 | } // namespace openpower::pels |