Home | History | Annotate | Download | only in ssl

Lines Matching defs: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)
232 static int ssl_write(BIO *b, const char *out, int outl)
304 static long ssl_ctrl(BIO *b, int cmd, long num, void *ptr)
308 BIO *dbio,*bio;
367 bio=SSL_get_rbio(ssl);
368 if (bio != NULL)
371 BIO_push(bio,b->next_bio);
372 b->next_bio=bio;
373 CRYPTO_add(&bio->references,1,CRYPTO_LOCK_BIO);
413 /* Only detach if we are the BIO explicitly being popped */
453 dbio=(BIO *)ptr;
495 static long ssl_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp)
519 static int ssl_puts(BIO *bp, const char *str)
528 BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx)
531 BIO *ret=NULL,*buf=NULL,*ssl=NULL;
547 BIO *BIO_new_ssl_connect(SSL_CTX *ctx)
550 BIO *ret=NULL,*con=NULL,*ssl=NULL;
565 BIO *BIO_new_ssl(SSL_CTX *ctx, int client)
567 BIO *ret;
586 int BIO_ssl_copy_session_id(BIO *t, BIO *f)
599 void BIO_ssl_shutdown(BIO *b)