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 | |
Patrick Williams | f2fe6b4 | 2020-05-13 17:57:40 -0500 | [diff] [blame^] | 12 | using DBusValue = std::variant<std::string, bool, std::vector<uint8_t>>; |
Matt Spinler | 2a28c93 | 2020-02-03 14:23:40 -0600 | [diff] [blame] | 13 | using DBusProperty = std::string; |
| 14 | using DBusInterface = std::string; |
| 15 | using DBusService = std::string; |
| 16 | using DBusPath = std::string; |
| 17 | using DBusInterfaceList = std::vector<DBusInterface>; |
| 18 | using DBusPathList = std::vector<DBusPath>; |
| 19 | using DBusPropertyMap = std::map<DBusProperty, DBusValue>; |
| 20 | using DBusInterfaceMap = std::map<DBusInterface, DBusPropertyMap>; |
| 21 | |
| 22 | } // namespace openpower::pels |