Go to the documentation of this file.
59 #ifndef HEADER_BUFFER_H
60 #define HEADER_BUFFER_H
70 #if !defined(NO_SYS_TYPES_H)
71 #include <sys/types.h>
91 void BUF_reverse(
unsigned char *out,
unsigned char *in,
size_t siz);
94 size_t BUF_strlcpy(
char *dst,
const char *src,
size_t siz);
95 size_t BUF_strlcat(
char *dst,
const char *src,
size_t siz);
107 #define BUF_F_BUF_MEMDUP 103
108 #define BUF_F_BUF_MEM_GROW 100
109 #define BUF_F_BUF_MEM_GROW_CLEAN 105
110 #define BUF_F_BUF_MEM_NEW 101
111 #define BUF_F_BUF_STRDUP 102
112 #define BUF_F_BUF_STRNDUP 104