Optimized BIO mem read - without reallocation
[openssl.git] / crypto / bio / bio_lcl.h
index 7f3b22268a1e530c6f610bfc6f8e0eacc7f3381c..ffd9e89ccd0b3c79fc0e7c2eab3fdca4263bd75a 100644 (file)
@@ -76,6 +76,12 @@ union bio_addr_st {
 
 /* END BIO_ADDRINFO/BIO_ADDR stuff. */
 
+/* BIO_BUF_MEM  */
+struct bio_buf_mem_st {
+    struct buf_mem_st *buf;   /* allocated buffer */
+    struct buf_mem_st *readp; /* read pointer */
+};
+
 #include "internal/cryptlib.h"
 #include <internal/bio.h>