make sure IO callbacks have right visibility
This commit is contained in:
parent
9f0ceea6c7
commit
665d403c74
@ -189,25 +189,25 @@ int EmbedSend(char *buf, int sz, void *ctx)
|
||||
|
||||
#endif /* CYASSL_USER_IO */
|
||||
|
||||
void CyaSSL_SetIORecv(SSL_CTX *ctx, CallbackIORecv CBIORecv)
|
||||
CYASSL_API void CyaSSL_SetIORecv(SSL_CTX *ctx, CallbackIORecv CBIORecv)
|
||||
{
|
||||
ctx->CBIORecv = CBIORecv;
|
||||
}
|
||||
|
||||
|
||||
void CyaSSL_SetIOSend(SSL_CTX *ctx, CallbackIOSend CBIOSend)
|
||||
CYASSL_API void CyaSSL_SetIOSend(SSL_CTX *ctx, CallbackIOSend CBIOSend)
|
||||
{
|
||||
ctx->CBIOSend = CBIOSend;
|
||||
}
|
||||
|
||||
|
||||
void CyaSSL_SetIOReadCtx(SSL* ssl, void *rctx)
|
||||
CYASSL_API void CyaSSL_SetIOReadCtx(SSL* ssl, void *rctx)
|
||||
{
|
||||
ssl->IOCB_ReadCtx = rctx;
|
||||
}
|
||||
|
||||
|
||||
void CyaSSL_SetIOWriteCtx(SSL* ssl, void *wctx)
|
||||
CYASSL_API void CyaSSL_SetIOWriteCtx(SSL* ssl, void *wctx)
|
||||
{
|
||||
ssl->IOCB_WriteCtx = wctx;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user