Functions
buf.c File Reference
#include <openssl/buf.h>
#include <string.h>
#include <openssl/mem.h>
#include <openssl/err.h>
#include "../internal.h"
Include dependency graph for buf.c:

Go to the source code of this file.

Functions

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

Function Documentation

◆ BUF_MEM_append()

int BUF_MEM_append ( BUF_MEM buf,
const void *  in,
size_t  len 
)

Definition at line 134 of file buf.c.

◆ BUF_MEM_free()

void BUF_MEM_free ( BUF_MEM buf)

Definition at line 80 of file buf.c.

◆ BUF_MEM_grow()

size_t BUF_MEM_grow ( BUF_MEM buf,
size_t  len 
)

Definition at line 119 of file buf.c.

◆ BUF_MEM_grow_clean()

size_t BUF_MEM_grow_clean ( BUF_MEM buf,
size_t  len 
)

Definition at line 130 of file buf.c.

◆ BUF_MEM_new()

BUF_MEM* BUF_MEM_new ( void  )

Definition at line 67 of file buf.c.

◆ BUF_MEM_reserve()

int BUF_MEM_reserve ( BUF_MEM buf,
size_t  cap 
)

Definition at line 89 of file buf.c.

◆ BUF_memdup()

void* BUF_memdup ( const void *  data,
size_t  size 
)

Definition at line 170 of file buf.c.

◆ BUF_strdup()

char* BUF_strdup ( const char *  str)

Definition at line 152 of file buf.c.

◆ BUF_strlcat()

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

Definition at line 166 of file buf.c.

◆ BUF_strlcpy()

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

Definition at line 162 of file buf.c.

◆ BUF_strndup()

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

Definition at line 158 of file buf.c.

◆ BUF_strnlen()

size_t BUF_strnlen ( const char *  str,
size_t  max_len 
)

Definition at line 154 of file buf.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:05