diff options
| author | markus <> | 2002-09-05 12:51:50 +0000 |
|---|---|---|
| committer | markus <> | 2002-09-05 12:51:50 +0000 |
| commit | 15b5d84f9da2ce4bfae8580e56e34a859f74ad71 (patch) | |
| tree | bf939e82d7fd73cc8a01cf6959002209972091bc /src/lib/libcrypto/buffer/buffer.h | |
| parent | 027351f729b9e837200dae6e1520cda6577ab930 (diff) | |
| download | openbsd-15b5d84f9da2ce4bfae8580e56e34a859f74ad71.tar.gz openbsd-15b5d84f9da2ce4bfae8580e56e34a859f74ad71.tar.bz2 openbsd-15b5d84f9da2ce4bfae8580e56e34a859f74ad71.zip | |
import openssl-0.9.7-beta1
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/buffer/buffer.h | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/src/lib/libcrypto/buffer/buffer.h b/src/lib/libcrypto/buffer/buffer.h index 417548c04a..11e2d0359a 100644 --- a/src/lib/libcrypto/buffer/buffer.h +++ b/src/lib/libcrypto/buffer/buffer.h | |||
| @@ -70,38 +70,27 @@ typedef struct buf_mem_st | |||
| 70 | int max; /* size of buffer */ | 70 | int max; /* size of buffer */ |
| 71 | } BUF_MEM; | 71 | } BUF_MEM; |
| 72 | 72 | ||
| 73 | #ifndef NOPROTO | ||
| 74 | BUF_MEM *BUF_MEM_new(void); | 73 | BUF_MEM *BUF_MEM_new(void); |
| 75 | void BUF_MEM_free(BUF_MEM *a); | 74 | void BUF_MEM_free(BUF_MEM *a); |
| 76 | int BUF_MEM_grow(BUF_MEM *str, int len); | 75 | int BUF_MEM_grow(BUF_MEM *str, int len); |
| 77 | char * BUF_strdup(char *str); | 76 | char * BUF_strdup(const char *str); |
| 78 | |||
| 79 | void ERR_load_BUF_strings(void ); | ||
| 80 | |||
| 81 | #else | ||
| 82 | |||
| 83 | BUF_MEM *BUF_MEM_new(); | ||
| 84 | void BUF_MEM_free(); | ||
| 85 | int BUF_MEM_grow(); | ||
| 86 | char * BUF_strdup(); | ||
| 87 | |||
| 88 | void ERR_load_BUF_strings(); | ||
| 89 | |||
| 90 | #endif | ||
| 91 | 77 | ||
| 92 | /* BEGIN ERROR CODES */ | 78 | /* BEGIN ERROR CODES */ |
| 79 | /* The following lines are auto generated by the script mkerr.pl. Any changes | ||
| 80 | * made after this point may be overwritten when the script is next run. | ||
| 81 | */ | ||
| 82 | void ERR_load_BUF_strings(void); | ||
| 83 | |||
| 93 | /* Error codes for the BUF functions. */ | 84 | /* Error codes for the BUF functions. */ |
| 94 | 85 | ||
| 95 | /* Function codes. */ | 86 | /* Function codes. */ |
| 96 | #define BUF_F_BUF_MEM_GROW 100 | 87 | #define BUF_F_BUF_MEM_GROW 100 |
| 97 | #define BUF_F_BUF_MEM_NEW 101 | 88 | #define BUF_F_BUF_MEM_NEW 101 |
| 98 | #define BUF_F_BUF_STRDUP 102 | 89 | #define BUF_F_BUF_STRDUP 102 |
| 99 | #define BUF_F_PXYCLNT_READ 103 | ||
| 100 | 90 | ||
| 101 | /* Reason codes. */ | 91 | /* Reason codes. */ |
| 102 | 92 | ||
| 103 | #ifdef __cplusplus | 93 | #ifdef __cplusplus |
| 104 | } | 94 | } |
| 105 | #endif | 95 | #endif |
| 106 | #endif | 96 | #endif |
| 107 | |||
