차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 다음 판 | 이전 판 | ||
|
ko:ssl_api [2017/02/27 15:02] 127.0.0.1 바깥 편집 |
ko:ssl_api [2018/07/08 18:45] (현재) michael [콜백 함수] |
||
|---|---|---|---|
| 줄 7: | 줄 7: | ||
| ===== 콜백 함수 ===== | ===== 콜백 함수 ===== | ||
| <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> | ||