xref: /openbmc/ibm-logging/dbus.hpp (revision e0017ebb)
1 #pragma once
2 
3 #include <map>
4 #include <sdbusplus/server.hpp>
5 #include <string>
6 #include <vector>
7 
8 namespace ibm
9 {
10 namespace logging
11 {
12 
13 using DbusInterface = std::string;
14 using DbusProperty = std::string;
15 using Value = sdbusplus::message::variant<bool, uint32_t, uint64_t,
16                                           std::string,
17                                           std::vector<std::string>>;
18 
19 using DbusPropertyMap = std::map<DbusProperty, Value>;
20 using DbusInterfaceMap = std::map<DbusInterface, DbusPropertyMap>;
21 using DbusInterfaceList = std::vector<DbusInterface>;
22 
23 }
24 }
25 
26