added DetectAdapters() method, that returns all device information for detected adapt...
[deb_libcec.git] / include / cecc.h
index 074a348383b05d1815ff070a38cd524be15c489b..878c5ac71c4df86c6c2d7afabe6b3f081fea23a3 100644 (file)
@@ -284,6 +284,12 @@ extern DECLSPEC uint8_t cec_audio_unmute(void);
 
 extern DECLSPEC uint8_t cec_audio_get_status(void);
 
+#ifdef __cplusplus
+extern DECLSPEC int8_t cec_detect_adapters(CEC::cec_adapter_descriptor *deviceList, uint8_t iBufSize, const char *strDevicePath);
+#else
+extern DECLSPEC int8_t cec_detect_adapters(cec_adapter_descriptor *deviceList, uint8_t iBufSize, const char *strDevicePath);
+#endif
+
 #ifdef __cplusplus
 };
 #endif