boot-block: check quiesce on error setting

An initial commit to check the new QuiesceOnHwError setting. Future
commits will act on this setting by creating the appropriate error
associations if needed.

Make public functions so code outside of log_manager (such as extension
code) can utilize these functions.

The design for this feature can be found here:
https://github.com/openbmc/docs/blob/master/designs/fail-boot-on-hw-error.md

Tested:
Verified code correctly read setting and took correct code path

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I2d113b5ca05afc39a5b81808eaafbc15da03bf8e
diff --git a/log_manager.hpp b/log_manager.hpp
index 74450cb..a57f1ab 100644
--- a/log_manager.hpp
+++ b/log_manager.hpp
@@ -171,6 +171,18 @@
         const std::map<std::string, std::string>& additionalData,
         const FFDCEntries& ffdc);
 
+    /** @brief Common wrapper for creating an Entry object
+     *
+     * @return true if quiesce on error setting is enabled, false otherwise
+     */
+    bool isQuiesceOnErrorEnabled();
+
+    /** @brief Check if error has callout and if so, block boot
+     *
+     * @param[in] entry - The error to check for callouts
+     */
+    void checkQuiesceOnError(const Entry& entry);
+
   private:
     /*
      * @fn _commit()