bios: check the attribute value to update

Check the attribute value to update according
to the configuration from attribute table

Signed-off-by: John Wang <wangzqbj@inspur.com>
Change-Id: I7a1e8a6ede33bc536dcb76081a88d47185919eea
diff --git a/libpldmresponder/bios_config.hpp b/libpldmresponder/bios_config.hpp
index ae1794e..98734ba 100644
--- a/libpldmresponder/bios_config.hpp
+++ b/libpldmresponder/bios_config.hpp
@@ -156,6 +156,16 @@
      *  @return The table, std::nullopt if loading fails
      */
     std::optional<Table> loadTable(const fs::path& path);
+
+    /** @brief Check the attribute value to update
+     *  @param[in] attrValueEntry - The attribute value entry to update
+     *  @param[in] attrEntry - The attribute table entry
+     *  @param[in] stringTable - The string  table
+     *  @return pldm_completion_codes
+     */
+    int checkAttrValueToUpdate(
+        const pldm_bios_attr_val_table_entry* attrValueEntry,
+        const pldm_bios_attr_table_entry* attrEntry, Table& stringTable);
 };
 
 } // namespace bios