mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-14 15:23:27 +00:00
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