summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bio.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-10-12 01:50:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2000-10-12 01:50:33 +0000
commit924046ce75ae5d5ee763f7cff77854bb493814c0 (patch)
tree78f6182654c22fb21c1932bfd58f27aa06041d58 /crypto/bio/bio.h
parent9e2c0f41d7deb0d80be53eed75bfe79f24467ec3 (diff)
Make non blocking I/O work for accept BIOs.
Diffstat (limited to 'crypto/bio/bio.h')
-rw-r--r--crypto/bio/bio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h
index 97003b503c..c15f5e55ff 100644
--- a/crypto/bio/bio.h
+++ b/crypto/bio/bio.h
@@ -179,7 +179,7 @@ extern "C" {
#define BIO_retry_type(a) ((a)->flags & BIO_FLAGS_RWS)
#define BIO_should_retry(a) ((a)->flags & BIO_FLAGS_SHOULD_RETRY)
-/* The next two are used in conjunction with the
+/* The next three are used in conjunction with the
* BIO_should_io_special() condition. After this returns true,
* BIO *BIO_get_retry_BIO(BIO *bio, int *reason); will walk the BIO
* stack and return the 'reason' for the special and the offending BIO.
@@ -188,6 +188,8 @@ extern "C" {
#define BIO_RR_SSL_X509_LOOKUP 0x01
/* Returned from the connect BIO when a connect would have blocked */
#define BIO_RR_CONNECT 0x02
+/* Returned from the accept BIO when an accept would have blocked */
+#define BIO_RR_ACCEPT 0x03
/* These are passed by the BIO callback */
#define BIO_CB_FREE 0x01