X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fbio%2Fbio.h;h=7f49ccbe9dd6f7bb5e0b429d5e06ada8e996a12e;hp=13817925aa69e1515a165d2081ec88224471db65;hb=ea1b02db6ab4864befde88ed03099f075cf7db76;hpb=2c4b354d32b1f34314f1a3ebeee0d0fcfb7505a0 diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h index 13817925aa..7f49ccbe9d 100644 --- a/crypto/bio/bio.h +++ b/crypto/bio/bio.h @@ -169,6 +169,11 @@ extern "C" { #define BIO_FLAGS_IO_SPECIAL 0x04 #define BIO_FLAGS_RWS (BIO_FLAGS_READ|BIO_FLAGS_WRITE|BIO_FLAGS_IO_SPECIAL) #define BIO_FLAGS_SHOULD_RETRY 0x08 +#ifndef BIO_FLAGS_UPLINK +/* "UPLINK" flag denotes file descriptors provided by application. + It defaults to 0, as most platforms don't require UPLINK interface. */ +#define BIO_FLAGS_UPLINK 0 +#endif /* Used in BIO_gethostbyname() */ #define BIO_GHBN_CTRL_HITS 1