OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Functions
buffer.h File Reference
#include <openssl/ossl_typ.h>
#include <stddef.h>
#include <sys/types.h>

Go to the source code of this file.

Classes

struct  buf_mem_st
 

Macros

#define BUF_F_BUF_MEMDUP   103
 
#define BUF_F_BUF_MEM_GROW   100
 
#define BUF_F_BUF_MEM_GROW_CLEAN   105
 
#define BUF_F_BUF_MEM_NEW   101
 
#define BUF_F_BUF_STRDUP   102
 
#define BUF_F_BUF_STRNDUP   104
 

Functions

BUF_MEMBUF_MEM_new (void)
 
void BUF_MEM_free (BUF_MEM *a)
 
int BUF_MEM_grow (BUF_MEM *str, size_t len)
 
int BUF_MEM_grow_clean (BUF_MEM *str, size_t len)
 
char * BUF_strdup (const char *str)
 
char * BUF_strndup (const char *str, size_t siz)
 
voidBUF_memdup (const void *data, size_t siz)
 
void BUF_reverse (unsigned char *out, unsigned char *in, size_t siz)
 
size_t BUF_strlcpy (char *dst, const char *src, size_t siz)
 
size_t BUF_strlcat (char *dst, const char *src, size_t siz)
 
void ERR_load_BUF_strings (void)
 

Macro Definition Documentation

#define BUF_F_BUF_MEM_GROW   100

Definition at line 108 of file buffer.h.

#define BUF_F_BUF_MEM_GROW_CLEAN   105

Definition at line 109 of file buffer.h.

#define BUF_F_BUF_MEM_NEW   101

Definition at line 110 of file buffer.h.

#define BUF_F_BUF_MEMDUP   103

Definition at line 107 of file buffer.h.

#define BUF_F_BUF_STRDUP   102

Definition at line 111 of file buffer.h.

#define BUF_F_BUF_STRNDUP   104

Definition at line 112 of file buffer.h.

Function Documentation

void BUF_MEM_free ( BUF_MEM a)

Definition at line 84 of file buffer.c.

int BUF_MEM_grow ( BUF_MEM str,
size_t  len 
)

Definition at line 97 of file buffer.c.

int BUF_MEM_grow_clean ( BUF_MEM str,
size_t  len 
)

Definition at line 139 of file buffer.c.

BUF_MEM* BUF_MEM_new ( void  )

Definition at line 68 of file buffer.c.

void* BUF_memdup ( const void data,
size_t  siz 
)

Definition at line 85 of file buf_str.c.

void BUF_reverse ( unsigned char *  out,
unsigned char *  in,
size_t  siz 
)

Definition at line 182 of file buffer.c.

char* BUF_strdup ( const char *  str)

Definition at line 63 of file buf_str.c.

size_t BUF_strlcat ( char *  dst,
const char *  src,
size_t  siz 
)

Definition at line 113 of file buf_str.c.

size_t BUF_strlcpy ( char *  dst,
const char *  src,
size_t  siz 
)

Definition at line 100 of file buf_str.c.

char* BUF_strndup ( const char *  str,
size_t  siz 
)

Definition at line 69 of file buf_str.c.

void ERR_load_BUF_strings ( void  )

Definition at line 89 of file buf_err.c.