summaryrefslogtreecommitdiffstats
path: root/frup.h
diff options
context:
space:
mode:
Diffstat (limited to 'frup.h')
-rw-r--r--frup.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/frup.h b/frup.h
index 3286260..8400951 100644
--- a/frup.h
+++ b/frup.h
@@ -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,
OpenPOWER on IntegriCloud