blob: d63d56c00145210fa4af975f653fa25f89a3d020 [file] [log] [blame]
Matt Spinler2a28c932020-02-03 14:23:40 -06001#pragma once
2
3#include <map>
Matt Spinler2a28c932020-02-03 14:23:40 -06004#include <string>
5#include <variant>
6#include <vector>
7
8namespace openpower::pels
9{
10
Sumit Kumar3e274432021-09-14 06:37:56 -050011using DBusValue =
12 std::variant<std::string, bool, std::vector<uint8_t>,
13 std::vector<std::string>,
14 std::vector<std::tuple<std::string, std::string, std::string>>,
15 std::tuple<uint64_t, std::vector<uint8_t>>>;
Matt Spinler2a28c932020-02-03 14:23:40 -060016using DBusProperty = std::string;
17using DBusInterface = std::string;
18using DBusService = std::string;
19using DBusPath = std::string;
20using DBusInterfaceList = std::vector<DBusInterface>;
21using DBusPathList = std::vector<DBusPath>;
22using DBusPropertyMap = std::map<DBusProperty, DBusValue>;
23using DBusInterfaceMap = std::map<DBusInterface, DBusPropertyMap>;
Matt Spinler1ab66962020-10-29 13:21:44 -050024using DBusSubTree =
25 std::map<DBusPath, std::map<DBusService, DBusInterfaceList>>;
Matt Spinler2a28c932020-02-03 14:23:40 -060026
27} // namespace openpower::pels