OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions | Variables
bio_lib.c File Reference
#include <stdio.h>
#include <errno.h>
#include <openssl/crypto.h>
#include "cryptlib.h"
#include <openssl/bio.h>
#include <openssl/stack.h>

Go to the source code of this file.

Functions

BIOBIO_new (BIO_METHOD *method)
 
int BIO_set (BIO *bio, BIO_METHOD *method)
 
int BIO_free (BIO *a)
 
void BIO_vfree (BIO *a)
 
void BIO_clear_flags (BIO *b, int flags)
 
int BIO_test_flags (const BIO *b, int flags)
 
void BIO_set_flags (BIO *b, int flags)
 
void BIO_set_callback (BIO *b, long(*cb)(struct bio_st *, int, const char *, int, long, long))
 
void BIO_set_callback_arg (BIO *b, char *arg)
 
char * BIO_get_callback_arg (const BIO *b)
 
const char * BIO_method_name (const BIO *b)
 
int BIO_method_type (const BIO *b)
 
int BIO_read (BIO *b, void *out, int outl)
 
int BIO_write (BIO *b, const void *in, int inl)
 
int BIO_puts (BIO *b, const char *in)
 
int BIO_gets (BIO *b, char *in, int inl)
 
int BIO_indent (BIO *b, int indent, int max)
 
long BIO_int_ctrl (BIO *b, int cmd, long larg, int iarg)
 
char * BIO_ptr_ctrl (BIO *b, int cmd, long larg)
 
long BIO_ctrl (BIO *b, int cmd, long larg, void *parg)
 
long BIO_callback_ctrl (BIO *b, int cmd, void(*fp)(struct bio_st *, int, const char *, int, long, long))
 
size_t BIO_ctrl_pending (BIO *bio)
 
size_t BIO_ctrl_wpending (BIO *bio)
 
BIOBIO_push (BIO *b, BIO *bio)
 
BIOBIO_pop (BIO *b)
 
BIOBIO_get_retry_BIO (BIO *bio, int *reason)
 
int BIO_get_retry_reason (BIO *bio)
 
BIOBIO_find_type (BIO *bio, int type)
 
BIOBIO_next (BIO *b)
 
void BIO_free_all (BIO *bio)
 
BIOBIO_dup_chain (BIO *in)
 
void BIO_copy_next_retry (BIO *b)
 
int BIO_get_ex_new_index (long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func)
 
int BIO_set_ex_data (BIO *bio, int idx, void *data)
 
voidBIO_get_ex_data (BIO *bio, int idx)
 
unsigned long BIO_number_read (BIO *bio)
 
unsigned long BIO_number_written (BIO *bio)
 

Variables

long(*)(struct bio_st *, int,
const char *, int, long, long) 
BIO_get_callback (const BIO *b)
 

Function Documentation

long BIO_callback_ctrl ( BIO b,
int  cmd,
void(*)(struct bio_st *, int, const char *, int, long, long)  fp 
)

Definition at line 378 of file bio_lib.c.

void BIO_clear_flags ( BIO b,
int  flags 
)

Definition at line 144 of file bio_lib.c.

void BIO_copy_next_retry ( BIO b)

Definition at line 567 of file bio_lib.c.

long BIO_ctrl ( BIO b,
int  cmd,
long  larg,
void parg 
)

Definition at line 351 of file bio_lib.c.

size_t BIO_ctrl_pending ( BIO bio)

Definition at line 408 of file bio_lib.c.

size_t BIO_ctrl_wpending ( BIO bio)

Definition at line 413 of file bio_lib.c.

BIO* BIO_dup_chain ( BIO in)

Definition at line 522 of file bio_lib.c.

BIO* BIO_find_type ( BIO bio,
int  type 
)

Definition at line 477 of file bio_lib.c.

int BIO_free ( BIO a)

Definition at line 111 of file bio_lib.c.

void BIO_free_all ( BIO bio)

Definition at line 506 of file bio_lib.c.

char* BIO_get_callback_arg ( const BIO b)

Definition at line 174 of file bio_lib.c.

void* BIO_get_ex_data ( BIO bio,
int  idx 
)

Definition at line 585 of file bio_lib.c.

int BIO_get_ex_new_index ( long  argl,
void argp,
CRYPTO_EX_new new_func,
CRYPTO_EX_dup dup_func,
CRYPTO_EX_free free_func 
)

Definition at line 573 of file bio_lib.c.

BIO* BIO_get_retry_BIO ( BIO bio,
int *  reason 
)

Definition at line 456 of file bio_lib.c.

int BIO_get_retry_reason ( BIO bio)

Definition at line 472 of file bio_lib.c.

int BIO_gets ( BIO b,
char *  in,
int  inl 
)

Definition at line 290 of file bio_lib.c.

int BIO_indent ( BIO b,
int  indent,
int  max 
)

Definition at line 321 of file bio_lib.c.

long BIO_int_ctrl ( BIO b,
int  cmd,
long  larg,
int  iarg 
)

Definition at line 333 of file bio_lib.c.

const char* BIO_method_name ( const BIO b)

Definition at line 179 of file bio_lib.c.

int BIO_method_type ( const BIO b)

Definition at line 184 of file bio_lib.c.

BIO* BIO_new ( BIO_METHOD method)

Definition at line 66 of file bio_lib.c.

BIO* BIO_next ( BIO b)

Definition at line 500 of file bio_lib.c.

unsigned long BIO_number_read ( BIO bio)

Definition at line 590 of file bio_lib.c.

unsigned long BIO_number_written ( BIO bio)

Definition at line 596 of file bio_lib.c.

BIO* BIO_pop ( BIO b)

Definition at line 437 of file bio_lib.c.

char* BIO_ptr_ctrl ( BIO b,
int  cmd,
long  larg 
)

Definition at line 341 of file bio_lib.c.

BIO* BIO_push ( BIO b,
BIO bio 
)

Definition at line 420 of file bio_lib.c.

int BIO_puts ( BIO b,
const char *  in 
)

Definition at line 257 of file bio_lib.c.

int BIO_read ( BIO b,
void out,
int  outl 
)

Definition at line 190 of file bio_lib.c.

int BIO_set ( BIO bio,
BIO_METHOD method 
)

Definition at line 84 of file bio_lib.c.

void BIO_set_callback ( BIO b,
long(*)(struct bio_st *, int, const char *, int, long, long)  cb 
)

Definition at line 164 of file bio_lib.c.

void BIO_set_callback_arg ( BIO b,
char *  arg 
)

Definition at line 169 of file bio_lib.c.

int BIO_set_ex_data ( BIO bio,
int  idx,
void data 
)

Definition at line 580 of file bio_lib.c.

void BIO_set_flags ( BIO b,
int  flags 
)

Definition at line 154 of file bio_lib.c.

int BIO_test_flags ( const BIO b,
int  flags 
)

Definition at line 149 of file bio_lib.c.

void BIO_vfree ( BIO a)

Definition at line 141 of file bio_lib.c.

int BIO_write ( BIO b,
const void in,
int  inl 
)

Definition at line 222 of file bio_lib.c.

Variable Documentation

long(*)(struct bio_st *, int, const char *, int, long, long) BIO_get_callback(const BIO *b)

Definition at line 159 of file bio_lib.c.