summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/buffer/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/buffer/buffer.h')
-rw-r--r--src/lib/libcrypto/buffer/buffer.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/libcrypto/buffer/buffer.h b/src/lib/libcrypto/buffer/buffer.h
index 465dc34f3f..11e2d0359a 100644
--- a/src/lib/libcrypto/buffer/buffer.h
+++ b/src/lib/libcrypto/buffer/buffer.h
@@ -63,9 +63,6 @@
63extern "C" { 63extern "C" {
64#endif 64#endif
65 65
66#include <stddef.h>
67#include <sys/types.h>
68
69typedef struct buf_mem_st 66typedef struct buf_mem_st
70 { 67 {
71 int length; /* current number of bytes */ 68 int length; /* current number of bytes */
@@ -76,14 +73,8 @@ typedef struct buf_mem_st
76BUF_MEM *BUF_MEM_new(void); 73BUF_MEM *BUF_MEM_new(void);
77void BUF_MEM_free(BUF_MEM *a); 74void BUF_MEM_free(BUF_MEM *a);
78int BUF_MEM_grow(BUF_MEM *str, int len); 75int BUF_MEM_grow(BUF_MEM *str, int len);
79int BUF_MEM_grow_clean(BUF_MEM *str, int len);
80char * BUF_strdup(const char *str); 76char * BUF_strdup(const char *str);
81 77
82/* safe string functions */
83size_t BUF_strlcpy(char *dst,const char *src,size_t siz);
84size_t BUF_strlcat(char *dst,const char *src,size_t siz);
85
86
87/* BEGIN ERROR CODES */ 78/* BEGIN ERROR CODES */
88/* The following lines are auto generated by the script mkerr.pl. Any changes 79/* The following lines are auto generated by the script mkerr.pl. Any changes
89 * made after this point may be overwritten when the script is next run. 80 * made after this point may be overwritten when the script is next run.