Lines Matching refs:bio

150 static int bio_filter_out_flush(BIO *bio)
152 bio_filter_out_ctx_t *outctx = (bio_filter_out_ctx_t *)(bio->ptr);
163 static int bio_filter_create(BIO *bio)
165 bio->shutdown = 1;
166 bio->init = 1;
167 bio->num = -1;
168 bio->ptr = NULL;
173 static int bio_filter_destroy(BIO *bio)
175 if (bio == NULL) {
185 static int bio_filter_out_read(BIO *bio, char *out, int outl)
188 bio_filter_out_ctx_t *outctx = (bio_filter_out_ctx_t *)(bio->ptr);
195 static int bio_filter_out_write(BIO *bio, const char *in, int inl)
197 bio_filter_out_ctx_t *outctx = (bio_filter_out_ctx_t *)(bio->ptr);
210 BIO_clear_retry_flags(bio);
224 static long bio_filter_out_ctrl(BIO *bio, int cmd, long num, void *ptr)
227 bio_filter_out_ctx_t *outctx = (bio_filter_out_ctx_t *)(bio->ptr);
234 "output bio: unhandled control %d", cmd);
243 ret = (long)bio->shutdown;
246 bio->shutdown = (int)num;
249 ret = bio_filter_out_flush(bio);
268 static int bio_filter_out_gets(BIO *bio, char *buf, int size)
271 bio_filter_out_ctx_t *outctx = (bio_filter_out_ctx_t *)(bio->ptr);
278 static int bio_filter_out_puts(BIO *bio, const char *str)
281 bio_filter_out_ctx_t *outctx = (bio_filter_out_ctx_t *)(bio->ptr);
449 static int bio_filter_in_read(BIO *bio, char *in, int inlen)
452 bio_filter_in_ctx_t *inctx = (bio_filter_in_ctx_t *)(bio->ptr);
482 BIO_clear_retry_flags(bio);
501 BIO_set_retry_read(bio);
521 BIO_set_retry_read(bio);
541 static int bio_filter_in_write(BIO *bio, const char *in, int inl)
543 bio_filter_in_ctx_t *inctx = (bio_filter_in_ctx_t *)(bio->ptr);
550 static int bio_filter_in_puts(BIO *bio, const char *str)
552 bio_filter_in_ctx_t *inctx = (bio_filter_in_ctx_t *)(bio->ptr);
559 static int bio_filter_in_gets(BIO *bio, char *buf, int size)
561 bio_filter_in_ctx_t *inctx = (bio_filter_in_ctx_t *)(bio->ptr);
568 static long bio_filter_in_ctrl(BIO *bio, int cmd, long num, void *ptr)
570 bio_filter_in_ctx_t *inctx = (bio_filter_in_ctx_t *)(bio->ptr);
2163 long ssl_io_data_cb(BIO *bio, int cmd,
2171 if ((ssl = (SSL *)BIO_get_callback_arg(bio)) == NULL)
2192 bio, argp, dump);
2201 bio, argp);