PNOR: Switch Software Version based on priority.
If the user specifically sets the priority of a version
to the lowest value, then we need to update the symlinks
and change PNOR current version.
Change-Id: I8bb46800e30ec0afd7726cceb8566915a48b5e88
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/item_updater.hpp b/item_updater.hpp
index 2a71905..213b456 100755
--- a/item_updater.hpp
+++ b/item_updater.hpp
@@ -51,6 +51,15 @@
*/
void freePriority(uint8_t value);
+ /** @brief Determine is the given priority is the lowest
+ *
+ * @param[in] value - The priority that needs to be checked.
+ *
+ * @return boolean corresponding to whether the given
+ * priority is lowest.
+ */
+ bool isLowestPriority(uint8_t value);
+
/**
* @brief Create and populate the active PNOR Version.
*/