PEL: createPELWithFFDCFiles stub

This is a new D-Bus method to create a PEL and openbmc event log and
also return the ID of the created log and PEL.

As this is coreqed with the phosphor-dbus-interfaces change that added
this method, just a stub is going in now so it can go in as quick as
possible to not hold up the PDI commit.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I88895a7f29241a5fbbc62b1fe6a0745d8dd9f052
diff --git a/extensions/openpower-pels/manager.cpp b/extensions/openpower-pels/manager.cpp
index 841a514..fa6bc59 100644
--- a/extensions/openpower-pels/manager.cpp
+++ b/extensions/openpower-pels/manager.cpp
@@ -568,5 +568,17 @@
         offset += offsetof(inotify_event, name) + event->len;
     }
 }
+
+std::tuple<uint32_t, uint32_t> Manager::createPELWithFFDCFiles(
+    std::string message, Entry::Level severity,
+    std::map<std::string, std::string> additionalData,
+    std::vector<std::tuple<
+        sdbusplus::xyz::openbmc_project::Logging::server::Create::FFDCFormat,
+        uint8_t, uint8_t, sdbusplus::message::unix_fd>>
+        fFDC)
+{
+    return {0, 0};
+}
+
 } // namespace pels
 } // namespace openpower
diff --git a/extensions/openpower-pels/manager.hpp b/extensions/openpower-pels/manager.hpp
index 50317a5..59c2e0d 100644
--- a/extensions/openpower-pels/manager.hpp
+++ b/extensions/openpower-pels/manager.hpp
@@ -10,6 +10,7 @@
 #include "pel.hpp"
 #include "registry.hpp"
 #include "repository.hpp"
+#include "xyz/openbmc_project/Logging/Create/server.hpp"
 
 #include <org/open_power/Logging/PEL/server.hpp>
 #include <sdbusplus/server.hpp>
@@ -170,6 +171,14 @@
      */
     void hostReject(uint32_t pelID, RejectionReason reason) override;
 
+    std::tuple<uint32_t, uint32_t> createPELWithFFDCFiles(
+        std::string message, phosphor::logging::Entry::Level severity,
+        std::map<std::string, std::string> additionalData,
+        std::vector<std::tuple<sdbusplus::xyz::openbmc_project::Logging::
+                                   server::Create::FFDCFormat,
+                               uint8_t, uint8_t, sdbusplus::message::unix_fd>>
+            fFDC);
+
     /**
      * @brief Converts the ESEL field in an OpenBMC event log to a
      *        vector of uint8_ts that just contains the PEL data.