diff options
author | Chris Austen <austenc@us.ibm.com> | 2015-11-01 06:34:56 -0600 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-11-01 06:34:56 -0600 |
commit | b45c4cb9f04bf295411c420c1ac05a0dd42e5e74 (patch) | |
tree | d8b31b599628ec2ff8df2d9841ab13079373e6d2 /frup.h | |
parent | 7bb1b15e20087ff630da97acd48eba3cb958734c (diff) | |
download | ipmi-fru-parser-b45c4cb9f04bf295411c420c1ac05a0dd42e5e74.tar.gz ipmi-fru-parser-b45c4cb9f04bf295411c420c1ac05a0dd42e5e74.zip |
Fix compile and linker problems
Diffstat (limited to 'frup.h')
-rw-r--r-- | frup.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -3,10 +3,19 @@ #include <systemd/sd-bus.h> +#ifdef __cplusplus +extern "C" +{ +#endif + /* Parse an IPMI write fru data message into a dictionary containing name value pair of VPD entries.*/ int parse_fru (const void* msgbuf, sd_bus_message* vpdtbl); int parse_fru_area (const uint8_t area, const void* msgbuf, const uint8_t len, sd_bus_message* vpdtbl); +#ifdef __cplusplus +} +#endif + enum ipmi_fru_area_type { IPMI_FRU_AREA_INTERNAL_USE = 0x00, |