Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:ssl_api [2018/03/20 16:08]
yjjung old revision restored (2017/03/01 17:31)
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>​