mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-10 15:04:59 +00:00
Merge pull request #5093 from yglukhov/BIO_new_mem_buf
Added BIO_new_mem_buf
This commit is contained in:
@@ -293,6 +293,8 @@ proc SSL_get_error*(s: SslPtr, ret_code: cInt): cInt{.cdecl, dynlib: DLLSSLName,
|
||||
proc SSL_accept*(ssl: SslPtr): cInt{.cdecl, dynlib: DLLSSLName, importc.}
|
||||
proc SSL_pending*(ssl: SslPtr): cInt{.cdecl, dynlib: DLLSSLName, importc.}
|
||||
|
||||
proc BIO_new_mem_buf*(data: pointer, len: cint): BIO{.cdecl,
|
||||
dynlib: DLLSSLName, importc.}
|
||||
proc BIO_new_ssl_connect*(ctx: SslCtx): BIO{.cdecl,
|
||||
dynlib: DLLSSLName, importc.}
|
||||
proc BIO_ctrl*(bio: BIO, cmd: cint, larg: int, arg: cstring): int{.cdecl,
|
||||
|
||||
Reference in New Issue
Block a user