aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src
diff options
context:
space:
mode:
authorManuel Schölling <[email protected]>2015-04-30 20:00:30 +0200
committerManuel Schölling <[email protected]>2015-04-30 20:00:30 +0200
commitc8fae312ad9a4350f3aa92b5aa09cc9f8971175e (patch)
tree2de5d836c56e226ab99d04dee0681407c0ee53cb /openssl-sys/src
parentWrite through to underlying stream for every write call (diff)
downloadrust-openssl-c8fae312ad9a4350f3aa92b5aa09cc9f8971175e.tar.xz
rust-openssl-c8fae312ad9a4350f3aa92b5aa09cc9f8971175e.zip
Add SslStream.pending()
Diffstat (limited to 'openssl-sys/src')
-rw-r--r--openssl-sys/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs
index 53f22558..97d4c0d7 100644
--- a/openssl-sys/src/lib.rs
+++ b/openssl-sys/src/lib.rs
@@ -496,6 +496,7 @@ extern "C" {
pub fn SSLv23_method() -> *const SSL_METHOD;
pub fn SSL_new(ctx: *mut SSL_CTX) -> *mut SSL;
+ pub fn SSL_pending(ssl: *const SSL) -> c_int;
pub fn SSL_free(ssl: *mut SSL);
pub fn SSL_set_bio(ssl: *mut SSL, rbio: *mut BIO, wbio: *mut BIO);
pub fn SSL_get_rbio(ssl: *mut SSL) -> *mut BIO;