openssl BIOs for reading/writing via a fixed memory buffer. More...
#include <openssl/bio.h>

Go to the source code of this file.
Definition in file tls_bio.h.
| #define tls_mbuf_init | ( | mb, | ||
| b, | ||||
| sz | ||||
| ) |
do { \ (mb)->buf = (b); \ (mb)->size = (sz); \ (mb)->pos = 0; \ (mb)->used = 0; \ } while(0)
| mb | - struct tls_mbuf pointer that will be intialized. | |
| b | - buffer (unsigned char*). | |
| sz | - suze of the buffer (int). WARNING: the buffer will not be copied, but referenced. |
Definition at line 59 of file tls_bio.h.
Referenced by tls_encode_f(), tls_h_close(), and tls_read_f().
| BIO_METHOD* tls_BIO_mbuf | ( | void | ) |
Definition at line 87 of file tls_bio.c.
Referenced by tls_BIO_new_mbuf().

| int tls_BIO_mbuf_set | ( | BIO * | b, | |
| struct tls_mbuf * | rd, | |||
| struct tls_mbuf * | wr | |||
| ) |
Definition at line 117 of file tls_bio.c.
Referenced by tls_BIO_new_mbuf(), and tls_set_mbufs().

| BIO* tls_BIO_new_mbuf | ( | struct tls_mbuf * | rd, | |
| struct tls_mbuf * | wr | |||
| ) |
Definition at line 97 of file tls_bio.c.
References tls_BIO_mbuf(), and tls_BIO_mbuf_set().
Referenced by tls_complete_init().


1.7.1