repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into release
[deb_libcec.git]
/
include
/
CECExportsC.h
diff --git
a/include/CECExportsC.h
b/include/CECExportsC.h
index 2a6b6146c9c94d25162d7d6c40396d3d0ca3499e..d1987cb18720233b064ef474976b88e74a6107cd 100644
(file)
--- a/
include/CECExportsC.h
+++ b/
include/CECExportsC.h
@@
-62,7
+62,7
@@
extern DECLSPEC void cec_destroy(void);
* @param iTimeout Connection timeout in ms.
* @return True when connected, false otherwise.
*/
* @param iTimeout Connection timeout in ms.
* @return True when connected, false otherwise.
*/
-extern DECLSPEC bool cec_open(const char *strPort, uint
64
_t iTimeout);
+extern DECLSPEC bool cec_open(const char *strPort, uint
32
_t iTimeout);
/*!
* @brief Close the connection to the CEC adapter.
/*!
* @brief Close the connection to the CEC adapter.
@@
-76,9
+76,9
@@
extern DECLSPEC void cec_close(void);
* @return The number of devices that were found, or -1 when an error occured.
*/
#ifdef __cplusplus
* @return The number of devices that were found, or -1 when an error occured.
*/
#ifdef __cplusplus
-extern DECLSPEC int
cec_find_adapters(std::vector<CEC::cec_adapter> &deviceList
, const char *strDevicePath = NULL);
+extern DECLSPEC int
8_t cec_find_adapters(CEC::cec_adapter *deviceList, uint8_t iBufSize
, const char *strDevicePath = NULL);
#else
#else
-extern DECLSPEC int
cec_find_adapters(std::vector<cec_adapter> &deviceList
, const char *strDevicePath = NULL);
+extern DECLSPEC int
8_t cec_find_adapters(cec_adapter *deviceList, uint8_t iBufSize
, const char *strDevicePath = NULL);
#endif
/*!
#endif
/*!
@@
-96,12
+96,12
@@
extern DECLSPEC bool cec_start_bootloader(void);
/*!
* @return Get the minimal version of libcec that this version of libcec can interface with.
*/
/*!
* @return Get the minimal version of libcec that this version of libcec can interface with.
*/
-extern DECLSPEC int cec_get_min_version(void);
+extern DECLSPEC int
8_t
cec_get_min_version(void);
/*!
* @return Get the version of libcec.
*/
/*!
* @return Get the version of libcec.
*/
-extern DECLSPEC int cec_get_lib_version(void);
+extern DECLSPEC int
8_t
cec_get_lib_version(void);
/*!
* @brief Power on the connected CEC capable devices.
/*!
* @brief Power on the connected CEC capable devices.