boot-block: look for a callout in the entry
phosphor-logging callouts always start with a CALLOUT_ in the additional
data entry. Look for this to determine if a callout is present in the
log.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I721e794dc4610a18705e1b0d75e545b14f844402
diff --git a/log_manager.hpp b/log_manager.hpp
index a57f1ab..b24a7f3 100644
--- a/log_manager.hpp
+++ b/log_manager.hpp
@@ -183,6 +183,14 @@
*/
void checkQuiesceOnError(const Entry& entry);
+ /** @brief Check if inventory callout present in input entry
+ *
+ * @param[in] entry - The error to check for callouts
+ *
+ * @return true if inventory item in associations, false otherwise
+ */
+ bool isCalloutPresent(const Entry& entry);
+
private:
/*
* @fn _commit()