cryptodev: add missing C++ guards
[dpdk.git] / lib / ethdev / rte_dev_info.h
index 7a6b61f..67cf0ae 100644 (file)
@@ -5,6 +5,10 @@
 #ifndef _RTE_DEV_INFO_H_
 #define _RTE_DEV_INFO_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <stdint.h>
 
 /*
@@ -19,21 +23,21 @@ struct rte_dev_reg_info {
 };
 
 /*
- * Placeholder for accessing device eeprom
+ * Placeholder for accessing device EEPROM
  */
 struct rte_dev_eeprom_info {
-       void *data; /**< Buffer for return eeprom */
-       uint32_t offset; /**< Start eeprom address for access*/
-       uint32_t length; /**< Length of eeprom region to access */
+       void *data; /**< Buffer for return EEPROM */
+       uint32_t offset; /**< Start EEPROM address for access*/
+       uint32_t length; /**< Length of EEPROM region to access */
        uint32_t magic; /**< Device-specific key, such as device-id */
 };
 
 /**
- * Placeholder for accessing plugin module eeprom
+ * Placeholder for accessing plugin module EEPROM
  */
 struct rte_eth_dev_module_info {
-       uint32_t type; /**< Type of plugin module eeprom */
-       uint32_t eeprom_len; /**< Length of plugin module eeprom */
+       uint32_t type; /**< Type of plugin module EEPROM */
+       uint32_t eeprom_len; /**< Length of plugin module EEPROM */
 };
 
 /* EEPROM Standards for plug in modules */
@@ -48,4 +52,8 @@ struct rte_eth_dev_module_info {
 #define RTE_ETH_MODULE_SFF_8436_LEN         256
 #define RTE_ETH_MODULE_SFF_8436_MAX_LEN     640
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _RTE_DEV_INFO_H_ */