buffer.h File Reference

API published in:
API deprecated in:


#include <openssl/ossl_typ.h>
#include <stddef.h>
#include <sys/types.h>

Go to the source code of this file.


Data Structures

struct   buf_mem_st

Defines

#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

IMPORT_C BUF_MEM BUF_MEM_new (void)
IMPORT_C void  BUF_MEM_free (BUF_MEM *a)
IMPORT_C int  BUF_MEM_grow (BUF_MEM *str, int len)
IMPORT_C int  BUF_MEM_grow_clean (BUF_MEM *str, int len)
IMPORT_C char *  BUF_strdup (const char *str)
IMPORT_C char *  BUF_strndup (const char *str, size_t siz)
IMPORT_C void *  BUF_memdup (const void *data, size_t siz)
IMPORT_C size_t  BUF_strlcpy (char *dst, const char *src, size_t siz)
IMPORT_C size_t  BUF_strlcat (char *dst, const char *src, size_t siz)
IMPORT_C void  ERR_load_BUF_strings (void)

Define Documentation

#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_MEMDUP   103
 
#define BUF_F_BUF_STRDUP   102
 
#define BUF_F_BUF_STRNDUP   104
 

Function Documentation

IMPORT_C void BUF_MEM_free BUF_MEM a  ) 
 
IMPORT_C int BUF_MEM_grow BUF_MEM str,
int  len
 
IMPORT_C int BUF_MEM_grow_clean BUF_MEM str,
int  len
 
IMPORT_C BUF_MEM* BUF_MEM_new void   ) 
 
IMPORT_C void* BUF_memdup const void *  data,
size_t  siz
 
IMPORT_C char* BUF_strdup const char *  str  ) 
 
IMPORT_C size_t BUF_strlcat char *  dst,
const char *  src,
size_t  siz
 
IMPORT_C size_t BUF_strlcpy char *  dst,
const char *  src,
size_t  siz
 
IMPORT_C char* BUF_strndup const char *  str,
size_t  siz
 
IMPORT_C void ERR_load_BUF_strings void   ) 
 

Copyright © Nokia Corporation 2001-2008
Back to top