Export new header file for Host Event errors

Export a manually generated header file that contains the error
information to log a host event error. This is temporary
the openpower-dbus-interfaces repo exports the yaml files and
the phosphor-logging repo parses the exception header files.

The header file also contains the info generated by the lookup
template.

Change-Id: Iea02ffd809e3815f34bb4a1b5c89639d2207dd43
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index a2b4ca5..fa066a1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
 # export these headers
-include_HEADERS = log.hpp elog.hpp
+include_HEADERS = log.hpp elog.hpp elog-errors-HostEvent.hpp
 
 # Generate this header, don't export in a distro
 nodist_include_HEADERS = elog-gen.hpp
diff --git a/elog-errors-HostEvent.hpp b/elog-errors-HostEvent.hpp
new file mode 100644
index 0000000..322c9ff
--- /dev/null
+++ b/elog-errors-HostEvent.hpp
@@ -0,0 +1,60 @@
+// This file was autogenerated.  Do not edit!
+// See elog-gen.py for more details
+#pragma once
+
+#include <map>
+#include <string>
+#include <tuple>
+#include <type_traits>
+#include <vector>
+#include "log.hpp"
+
+namespace phosphor
+{
+
+namespace logging
+{
+
+std::map<std::string,std::vector<std::string>> g_errMetaMapHostEvent = {
+     {"org.open_power.Error.Host.Event.Event",{"ESEL"}},
+};
+
+std::map<std::string,level> g_errLevelMapHostEvent = {
+     {"org.open_power.Error.Host.Event.Event",level::INFO},
+};
+
+namespace org
+{
+namespace open_power
+{
+namespace Error
+{
+namespace Host
+{
+namespace _Event
+{
+struct ESEL
+{
+    static constexpr auto str = "ESEL=%s";
+    static constexpr auto str_short = "ESEL";
+    using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
+    explicit constexpr ESEL(const char* a) : _entry(entry(str, a)) {};
+    type _entry;
+};
+
+}  // namespace _Event
+
+struct Event
+{
+    static constexpr auto err_code = "org.open_power.Error.Host.Event.Event";
+    static constexpr auto err_msg = "A host system event was received";
+    static constexpr auto L = level::INFO;
+    using ESEL = _Event::ESEL;
+    using metadata_types = std::tuple<ESEL>;
+};
+} // namespace Host
+} // namespace Error
+} // namespace open_power
+} // namespace org
+} // namespace logging
+} // namespace phosphor