Lines Matching refs:BIO
64 #include <openssl/bio.h>
68 static int ssl_write(BIO *h, const char *buf, int num);
69 static int ssl_read(BIO *h, char *buf, int size);
70 static int ssl_puts(BIO *h, const char *str);
71 static long ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2);
72 static int ssl_new(BIO *h);
73 static int ssl_free(BIO *data);
74 static long ssl_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp);
104 static int ssl_new(BIO *bi)
121 static int ssl_free(BIO *a)
140 static int ssl_read(BIO *b, char *out, int outl)
228 static int ssl_write(BIO *b, const char *out, int outl)
296 static long ssl_ctrl(BIO *b, int cmd, long num, void *ptr)
300 BIO *dbio,*bio;
355 bio=SSL_get_rbio(ssl);
356 if (bio != NULL)
359 BIO_push(bio,b->next_bio);
360 b->next_bio=bio;
361 CRYPTO_add(&bio->references,1,CRYPTO_LOCK_BIO);
439 dbio=(BIO *)ptr;
481 static long ssl_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp)
505 static int ssl_puts(BIO *bp, const char *str)
514 BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx)
517 BIO *ret=NULL,*buf=NULL,*ssl=NULL;
533 BIO *BIO_new_ssl_connect(SSL_CTX *ctx)
535 BIO *ret=NULL,*con=NULL,*ssl=NULL;
550 BIO *BIO_new_ssl(SSL_CTX *ctx, int client)
552 BIO *ret;
571 int BIO_ssl_copy_session_id(BIO *t, BIO *f)
584 void BIO_ssl_shutdown(BIO *b)