Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
en:ssl_api [2018/03/20 16:08] yjjung old revision restored (2017/03/01 17:31) |
en:ssl_api [2018/05/28 21:28] 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 decoviceId, int errCode); |
</code> | </code> | ||