101 if (method->
create != NULL)
115 if (a == NULL)
return(0);
121 if (i > 0)
return(1);
125 fprintf(stderr,
"BIO_free, bad reference count\n");
151 return (b->
flags & flags);
193 long (*
cb)(
BIO *,int,
const char *,int,long,long);
214 if (i > 0) b->
num_read+=(
unsigned long)i;
225 long (*
cb)(
BIO *,int,
const char *,int,long,long);
249 if (i > 0) b->
num_write+=(
unsigned long)i;
260 long (*
cb)(
BIO *,int,
const char *,int,long,long);
282 if (i > 0) b->
num_write+=(
unsigned long)i;
293 long (*
cb)(
BIO *,int,
const char *,int,long,long);
338 return(
BIO_ctrl(b,cmd,larg,(
char *)&i));
345 if (
BIO_ctrl(b,cmd,larg,(
char *)&p) <= 0)
354 long (*
cb)(
BIO *,int,
const char *,int,long,long);
356 if (b == NULL)
return(0);
381 long (*
cb)(
BIO *,int,
const char *,int,long,long);
383 if (b == NULL)
return(0);
424 if (b == NULL)
return(bio);
441 if (b == NULL)
return(NULL);
466 if (b == NULL)
break;
481 if(!bio)
return NULL;
490 if (mt & type)
return(bio);
496 }
while (bio != NULL);
524 BIO *ret=NULL,*eoc=NULL,*bio,*new_bio;
526 for (bio=in; bio != NULL; bio=bio->
next_bio)
528 if ((new_bio=
BIO_new(bio->method)) == NULL)
goto err;
530 new_bio->cb_arg=bio->cb_arg;
531 new_bio->init=bio->init;
532 new_bio->shutdown=bio->shutdown;
533 new_bio->flags=bio->flags;
536 new_bio->num=bio->num;
577 new_func, dup_func, free_func);