make sure IO callbacks have right visibility

This commit is contained in:
Todd A Ouska 2011-07-06 12:25:26 -07:00
parent 9f0ceea6c7
commit 665d403c74

View File

@ -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;
}