NAME
BUF_MEM_new, BUF_MEM_free, BUF_MEM_grow, BUF_strdup — simple character arrays structureSYNOPSIS
#include <openssl/buffer.h>BUF_MEM_new(void);
BUF_MEM_free(BUF_MEM *a);
BUF_MEM_grow(BUF_MEM *str, size_t len);
BUF_strdup(const char *str);
DESCRIPTION
The buffer library handles simple character arrays. Buffers are used for various purposes in the library, most notably memory BIOs.typedef struct buf_mem_st { size_t length; /* current number of bytes */ char *data; size_t max; /* size of buffer */ } BUF_MEM;