Lines Matching +full:internal +full:- +full:mem
7 BIO_get_mem_ptr, BIO_new_mem_buf - memory BIO
49 true). A datagram mem BIO will never return true from L<BIO_eof(3)>.
79 positive return value B<v> should be set to a negative value, typically -1.
80 Calling this macro will fail for datagram mem BIOs.
87 BIO_set_mem_buf() sets the internal BUF_MEM structure to B<bm> and sets the
95 if B<len> is -1 then the B<buf> is assumed to be nul terminated and its
114 to a read write memory BIO will have to move the unread data with an internal
147 Calling BIO_set_close() with BIO_NOCLOSE orphans the BUF_MEM internal to the
168 BIO *mem = BIO_new(BIO_s_mem());
170 BIO_puts(mem, "Hello World\n");
175 BIO *mem = BIO_new_mem_buf(data, -1);
181 BIO_get_mem_ptr(mem, &bptr);
182 BIO_set_close(mem, BIO_NOCLOSE); /* So BIO_free() leaves BUF_MEM alone */
183 BIO_free(mem);
185 Extract the BUF_MEM ptr, claim ownership of the internal data and free the BIO
193 BIO_set_close(mem, BIO_NOCLOSE); /* So BIO_free orphans BUF_MEM */
195 bptr->data = NULL; /* Tell BUF_MEM to orphan data */
206 Copyright 2000-2024 The OpenSSL Project Authors. All Rights Reserved.