Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
buffer.h File Reference
#include <openssl/ossl_typ.h>
#include <openssl/crypto.h>
#include <openssl/buffererr.h>
#include <stddef.h>
#include <sys/types.h>
+ Include dependency graph for buffer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  buf_mem_st
 

Macros

#define BUF_strdup(s)   OPENSSL_strdup(s)
 
#define BUF_strndup(s, size)   OPENSSL_strndup(s, size)
 
#define BUF_memdup(data, size)   OPENSSL_memdup(data, size)
 
#define BUF_strlcpy(dst, src, size)   OPENSSL_strlcpy(dst, src, size)
 
#define BUF_strlcat(dst, src, size)   OPENSSL_strlcat(dst, src, size)
 
#define BUF_strnlen(str, maxlen)   OPENSSL_strnlen(str, maxlen)
 
#define BUF_MEM_FLAG_SECURE   0x01
 

Functions

BUF_MEMBUF_MEM_new (void)
 
BUF_MEMBUF_MEM_new_ex (unsigned long flags)
 
void BUF_MEM_free (BUF_MEM *a)
 
size_t BUF_MEM_grow (BUF_MEM *str, size_t len)
 
size_t BUF_MEM_grow_clean (BUF_MEM *str, size_t len)
 
void BUF_reverse (unsigned char *out, const unsigned char *in, size_t siz)
 

Macro Definition Documentation

◆ BUF_MEM_FLAG_SECURE

#define BUF_MEM_FLAG_SECURE   0x01

Definition at line 45 of file buffer.h.

◆ BUF_memdup

#define BUF_memdup ( data,
size )   OPENSSL_memdup(data, size)

Definition at line 33 of file buffer.h.

◆ BUF_strdup

#define BUF_strdup ( s)    OPENSSL_strdup(s)

Definition at line 31 of file buffer.h.

◆ BUF_strlcat

#define BUF_strlcat ( dst,
src,
size )   OPENSSL_strlcat(dst, src, size)

Definition at line 35 of file buffer.h.

◆ BUF_strlcpy

#define BUF_strlcpy ( dst,
src,
size )   OPENSSL_strlcpy(dst, src, size)

Definition at line 34 of file buffer.h.

◆ BUF_strndup

#define BUF_strndup ( s,
size )   OPENSSL_strndup(s, size)

Definition at line 32 of file buffer.h.

◆ BUF_strnlen

#define BUF_strnlen ( str,
maxlen )   OPENSSL_strnlen(str, maxlen)

Definition at line 36 of file buffer.h.

Function Documentation

◆ BUF_MEM_free()

void BUF_MEM_free ( BUF_MEM * a)

◆ BUF_MEM_grow()

size_t BUF_MEM_grow ( BUF_MEM * str,
size_t len )

◆ BUF_MEM_grow_clean()

size_t BUF_MEM_grow_clean ( BUF_MEM * str,
size_t len )

◆ BUF_MEM_new()

BUF_MEM * BUF_MEM_new ( void )

◆ BUF_MEM_new_ex()

BUF_MEM * BUF_MEM_new_ex ( unsigned long flags)

◆ BUF_reverse()

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