summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--types.hpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/types.hpp b/types.hpp
new file mode 100644
index 0000000..81caad6
--- /dev/null
+++ b/types.hpp
@@ -0,0 +1,25 @@
+#pragma once
+
+#include <string>
+#include <map>
+#include <sdbusplus/server.hpp>
+
+namespace ipmi
+{
+namespace vpd
+{
+
+ using Path = std::string;
+
+ using Property = std::string;
+ using Value = sdbusplus::message::variant<bool, int64_t, std::string>;
+ using PropertyMap = std::map<Property, Value>;
+
+ using Interface = std::string;
+ using InterfaceMap = std::map<Interface, PropertyMap>;
+
+ using Object = sdbusplus::message::object_path;
+ using ObjectMap = std::map<Object, InterfaceMap>;
+
+} //namespace vpd
+} //namespace ipmi
OpenPOWER on IntegriCloud