Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:ssl_api [2017/03/01 17:31] 127.0.0.1 external edit |
en:ssl_api [2018/07/05 10:50] (current) michael [Callback Function] |
||
---|---|---|---|
Line 7: | Line 7: | ||
===== Callback Function ===== | ===== Callback Function ===== | ||
<code cpp> | <code cpp> | ||
- | typedef void (*GetRootCaFilePath)(uint32_t deviceId); | + | typedef const char* (*GetRootCaFilePath)(uint32_t deviceId); |
typedef const char* (*GetServerCaFilePath)(BS2_DEVICE_ID deviceId); | typedef const char* (*GetServerCaFilePath)(BS2_DEVICE_ID deviceId); | ||
typedef const char* (*GetServerPrivateKeyFilePath)(uint32_t deviceId); | typedef const char* (*GetServerPrivateKeyFilePath)(uint32_t deviceId); | ||
typedef const char* (*GetPassword)(uint32_t deviceId); | typedef const char* (*GetPassword)(uint32_t deviceId); | ||
- | typedef const char* (*OnErrorOccured)(BS2_DEVICE_ID deviceId, int errCode); | + | typedef void (*OnErrorOccured)(BS2_DEVICE_ID deviceId, int errCode); |
</code> | </code> | ||