Deepak Kodihalli | 7c183ae | 2017-02-20 01:13:04 -0600 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Deepak Kodihalli | 7c183ae | 2017-02-20 01:13:04 -0600 | [diff] [blame] | 3 | #include <map> |
Patrick Venture | 5b8b8ac | 2018-10-20 09:09:37 -0700 | [diff] [blame^] | 4 | #include <sdbusplus/message.hpp> |
Patrick Venture | c9508db | 2018-10-16 17:18:43 -0700 | [diff] [blame] | 5 | #include <string> |
Deepak Kodihalli | 7c183ae | 2017-02-20 01:13:04 -0600 | [diff] [blame] | 6 | |
| 7 | namespace ipmi |
| 8 | { |
| 9 | namespace vpd |
| 10 | { |
| 11 | |
Patrick Venture | c9508db | 2018-10-16 17:18:43 -0700 | [diff] [blame] | 12 | using Path = std::string; |
Deepak Kodihalli | 7c183ae | 2017-02-20 01:13:04 -0600 | [diff] [blame] | 13 | |
Patrick Venture | c9508db | 2018-10-16 17:18:43 -0700 | [diff] [blame] | 14 | using Property = std::string; |
| 15 | using Value = sdbusplus::message::variant<bool, int64_t, std::string>; |
| 16 | using PropertyMap = std::map<Property, Value>; |
Deepak Kodihalli | 7c183ae | 2017-02-20 01:13:04 -0600 | [diff] [blame] | 17 | |
Patrick Venture | c9508db | 2018-10-16 17:18:43 -0700 | [diff] [blame] | 18 | using Interface = std::string; |
| 19 | using InterfaceMap = std::map<Interface, PropertyMap>; |
Deepak Kodihalli | 7c183ae | 2017-02-20 01:13:04 -0600 | [diff] [blame] | 20 | |
Patrick Venture | c9508db | 2018-10-16 17:18:43 -0700 | [diff] [blame] | 21 | using Object = sdbusplus::message::object_path; |
| 22 | using ObjectMap = std::map<Object, InterfaceMap>; |
Deepak Kodihalli | 7c183ae | 2017-02-20 01:13:04 -0600 | [diff] [blame] | 23 | |
Patrick Venture | c9508db | 2018-10-16 17:18:43 -0700 | [diff] [blame] | 24 | } // namespace vpd |
| 25 | } // namespace ipmi |