commit | 13555bd0db6c5436b8630ff368537adce11f9968 | [log] [tgz] |
---|---|---|
author | vishwa <vishwanath@in.ibm.com> | Tue Nov 10 12:10:38 2015 -0600 |
committer | vishwa <vishwanath@in.ibm.com> | Tue Nov 24 10:20:04 2015 -0600 |
tree | aaa89e6bb863f6541d9421932f9368076f7b6a08 | |
parent | 1c779b8570849a52dac828538c36a59798f4583a [diff] [blame] |
eeprom read CLI
diff --git a/writefrudata.H b/writefrudata.H index 42924a3..89c20ac 100644 --- a/writefrudata.H +++ b/writefrudata.H
@@ -3,6 +3,7 @@ #include <stdint.h> #include <stddef.h> +#include <systemd/sd-bus.h> // IPMI commands for Storage net functions. enum ipmi_netfn_storage_cmds @@ -50,4 +51,6 @@ #define IPMI_FRU_HDR_CRC_OFFSET offsetof(struct common_header, crc) #define IPMI_EIGHT_BYTES 8 +extern "C" int ipmi_validate_fru_area(const uint8_t, const char *, sd_bus *); + #endif