OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
buffer.c File Reference
#include "tunala.h"

Go to the source code of this file.

Functions

void buffer_init (buffer_t *buf)
 
void buffer_close (buffer_t *buf)
 
unsigned int buffer_used (buffer_t *buf)
 
unsigned int buffer_unused (buffer_t *buf)
 
int buffer_full (buffer_t *buf)
 
int buffer_notfull (buffer_t *buf)
 
int buffer_empty (buffer_t *buf)
 
int buffer_notempty (buffer_t *buf)
 
unsigned long buffer_total_in (buffer_t *buf)
 
unsigned long buffer_total_out (buffer_t *buf)
 
int buffer_from_fd (buffer_t *buf, int fd)
 
int buffer_to_fd (buffer_t *buf, int fd)
 
void buffer_from_SSL (buffer_t *buf, SSL *ssl)
 
void buffer_to_SSL (buffer_t *buf, SSL *ssl)
 
void buffer_from_BIO (buffer_t *buf, BIO *bio)
 
void buffer_to_BIO (buffer_t *buf, BIO *bio)
 

Function Documentation

void buffer_close ( buffer_t buf)

Definition at line 11 of file buffer.c.

int buffer_empty ( buffer_t buf)

Definition at line 26 of file buffer.c.

void buffer_from_BIO ( buffer_t buf,
BIO bio 
)

Definition at line 179 of file buffer.c.

int buffer_from_fd ( buffer_t buf,
int  fd 
)

Definition at line 88 of file buffer.c.

void buffer_from_SSL ( buffer_t buf,
SSL ssl 
)

Definition at line 151 of file buffer.c.

int buffer_full ( buffer_t buf)

Definition at line 22 of file buffer.c.

void buffer_init ( buffer_t buf)

Definition at line 5 of file buffer.c.

int buffer_notempty ( buffer_t buf)

Definition at line 28 of file buffer.c.

int buffer_notfull ( buffer_t buf)

Definition at line 24 of file buffer.c.

void buffer_to_BIO ( buffer_t buf,
BIO bio 
)

Definition at line 191 of file buffer.c.

int buffer_to_fd ( buffer_t buf,
int  fd 
)

Definition at line 102 of file buffer.c.

void buffer_to_SSL ( buffer_t buf,
SSL ssl 
)

Definition at line 165 of file buffer.c.

unsigned long buffer_total_in ( buffer_t buf)

Definition at line 30 of file buffer.c.

unsigned long buffer_total_out ( buffer_t buf)

Definition at line 32 of file buffer.c.

unsigned int buffer_unused ( buffer_t buf)

Definition at line 20 of file buffer.c.

unsigned int buffer_used ( buffer_t buf)

Definition at line 18 of file buffer.c.