pdr : send up PDRRepositoryChgEvent

Once the BMC has merged entity associations from the host firmware into
its primary PDR repo, send up an event to the host, providing it with
the record handles of the merged entity association PDRs.

Change-Id: I3e6e1d8d1390107f976829ae39f0cc9151447d9c
Signed-off-by: Pavithra Barithaya <pbaritha@in.ibm.com>
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/host_pdr_handler.hpp b/host_pdr_handler.hpp
index af1fbab..fec6da6 100644
--- a/host_pdr_handler.hpp
+++ b/host_pdr_handler.hpp
@@ -59,8 +59,18 @@
      *  @param[in] recordHandles - list of record handles pointing to host's
      *             PDRs that need to be fetched.
      */
+
     void fetchPDR(std::vector<uint32_t>&& recordHandles);
 
+    /** @brief Send a PLDM event to host firmware containing a list of record
+     *  handles of PDRs that the host firmware has to fetch.
+     *  @param[in] pdrTypes - list of PDR types that need to be looked up in the
+     *                        BMC repo
+     *  @param[in] eventDataFormat - format for PDRRepositoryChgEvent in DSP0248
+     */
+    void sendPDRRepositoryChgEvent(std::vector<uint8_t>&& pdrTypes,
+                                   uint8_t eventDataFormat);
+
   private:
     /** @brief fetchPDR schedules work on the event loop, this method does the
      *  actual work. This is so that the PDR exchg with the host is async.