writefrudata: add function header
Change-Id: Ibfe32351e04ace02cb830399a56cf1860a74df87
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/writefrudata.hpp b/writefrudata.hpp
index 356b4b5..1f3e49f 100644
--- a/writefrudata.hpp
+++ b/writefrudata.hpp
@@ -41,6 +41,15 @@
#define IPMI_FRU_HDR_CRC_OFFSET offsetof(struct common_header, crc)
#define IPMI_EIGHT_BYTES 8
-int ipmi_validate_fru_area(const uint8_t, const char*, sd_bus*, const bool);
+/**
+ * Validate a FRU.
+ *
+ * @param[in] fruid - The ID to use for this FRU.
+ * @param[in] fru_file_name - the filename of the FRU.
+ * @param[in] bus_type - a systemd bus for publishing the information.
+ * @param[in] bmc_fru - If a particular area accessible only by BMC.
+ */
+int ipmi_validate_fru_area(const uint8_t fruid, const char* fru_file_name,
+ sd_bus* bus_type, const bool bmc_fru);
#endif