webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
buf.c File Reference
#include <openssl/buf.h>
#include <string.h>
#include <openssl/mem.h>
#include <openssl/err.h>

Functions

BUF_MEMBUF_MEM_new (void)
 
void BUF_MEM_free (BUF_MEM *buf)
 
int BUF_MEM_reserve (BUF_MEM *buf, size_t cap)
 
size_t BUF_MEM_grow (BUF_MEM *buf, size_t len)
 
size_t BUF_MEM_grow_clean (BUF_MEM *buf, size_t len)
 
char * BUF_strdup (const char *buf)
 
size_t BUF_strnlen (const char *str, size_t max_len)
 
char * BUF_strndup (const char *buf, size_t size)
 
size_t BUF_strlcpy (char *dst, const char *src, size_t dst_size)
 
size_t BUF_strlcat (char *dst, const char *src, size_t dst_size)
 
voidBUF_memdup (const void *data, size_t dst_size)
 

Function Documentation

◆ BUF_MEM_free()

void BUF_MEM_free ( BUF_MEM buf)

◆ BUF_MEM_grow()

size_t BUF_MEM_grow ( BUF_MEM buf,
size_t  len 
)

◆ BUF_MEM_grow_clean()

size_t BUF_MEM_grow_clean ( BUF_MEM buf,
size_t  len 
)

◆ BUF_MEM_new()

BUF_MEM* BUF_MEM_new ( void  )

◆ BUF_MEM_reserve()

int BUF_MEM_reserve ( BUF_MEM buf,
size_t  cap 
)

◆ BUF_memdup()

void* BUF_memdup ( const void data,
size_t  dst_size 
)

◆ BUF_strdup()

char* BUF_strdup ( const char *  buf)

◆ BUF_strlcat()

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

◆ BUF_strlcpy()

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

◆ BUF_strndup()

char* BUF_strndup ( const char *  buf,
size_t  size 
)

◆ BUF_strnlen()

size_t BUF_strnlen ( const char *  str,
size_t  max_len 
)