diff options
| author | Steven Fackler <[email protected]> | 2015-12-09 22:02:02 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2015-12-09 22:02:02 -0800 |
| commit | 8f56897043f8138980ce3376765b769c764d8701 (patch) | |
| tree | acb10fdbf1dccbaa62c2e7024f54e8a38146d37f /openssl-sys-extras/src/lib.rs | |
| parent | IT LIVES (diff) | |
| download | rust-openssl-8f56897043f8138980ce3376765b769c764d8701.tar.xz rust-openssl-8f56897043f8138980ce3376765b769c764d8701.zip | |
Implement read and write
Diffstat (limited to 'openssl-sys-extras/src/lib.rs')
| -rw-r--r-- | openssl-sys-extras/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openssl-sys-extras/src/lib.rs b/openssl-sys-extras/src/lib.rs index dfeb06e5..3c114726 100644 --- a/openssl-sys-extras/src/lib.rs +++ b/openssl-sys-extras/src/lib.rs @@ -55,6 +55,8 @@ extern { pub fn BIO_set_retry_read(b: *mut BIO); #[link_name = "BIO_set_retry_write_shim"] pub fn BIO_set_retry_write(b: *mut BIO); + #[link_name = "BIO_flush"] + pub fn BIO_flush(b: *mut BIO) -> c_long; pub fn SSL_CTX_set_options_shim(ctx: *mut SSL_CTX, options: c_long) -> c_long; pub fn SSL_CTX_get_options_shim(ctx: *mut SSL_CTX) -> c_long; pub fn SSL_CTX_clear_options_shim(ctx: *mut SSL_CTX, options: c_long) -> c_long; |