summaryrefslogtreecommitdiffstats
path: root/include/openssl/bio.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'include/openssl/bio.h.in')
-rw-r--r--include/openssl/bio.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openssl/bio.h.in b/include/openssl/bio.h.in
index d1a29bee32..a118aeeece 100644
--- a/include/openssl/bio.h.in
+++ b/include/openssl/bio.h.in
@@ -71,7 +71,10 @@ extern "C" {
# define BIO_TYPE_DGRAM_PAIR (26|BIO_TYPE_SOURCE_SINK)
# define BIO_TYPE_DGRAM_MEM (27|BIO_TYPE_SOURCE_SINK)
+/* Custom type starting index returned by BIO_get_new_index() */
#define BIO_TYPE_START 128
+/* Custom type maximum index that can be returned by BIO_get_new_index() */
+#define BIO_TYPE_MASK 0xFF
/*
* BIO_FILENAME_READ|BIO_CLOSE to open or close on free.