diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/comp/comp.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libcrypto/comp/comp.h b/src/lib/libcrypto/comp/comp.h index 93bd9c34c8..ab48b78ae9 100644 --- a/src/lib/libcrypto/comp/comp.h +++ b/src/lib/libcrypto/comp/comp.h | |||
| @@ -2,12 +2,12 @@ | |||
| 2 | #ifndef HEADER_COMP_H | 2 | #ifndef HEADER_COMP_H |
| 3 | #define HEADER_COMP_H | 3 | #define HEADER_COMP_H |
| 4 | 4 | ||
| 5 | #include <openssl/crypto.h> | ||
| 6 | |||
| 5 | #ifdef __cplusplus | 7 | #ifdef __cplusplus |
| 6 | extern "C" { | 8 | extern "C" { |
| 7 | #endif | 9 | #endif |
| 8 | 10 | ||
| 9 | #include <openssl/crypto.h> | ||
| 10 | |||
| 11 | typedef struct comp_method_st | 11 | typedef struct comp_method_st |
| 12 | { | 12 | { |
| 13 | int type; /* NID for compression library */ | 13 | int type; /* NID for compression library */ |
| @@ -17,6 +17,7 @@ typedef struct comp_method_st | |||
| 17 | int (*compress)(); | 17 | int (*compress)(); |
| 18 | int (*expand)(); | 18 | int (*expand)(); |
| 19 | long (*ctrl)(); | 19 | long (*ctrl)(); |
| 20 | long (*callback_ctrl)(); | ||
| 20 | } COMP_METHOD; | 21 | } COMP_METHOD; |
| 21 | 22 | ||
| 22 | typedef struct comp_ctx_st | 23 | typedef struct comp_ctx_st |
| @@ -38,14 +39,13 @@ int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, | |||
| 38 | int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, | 39 | int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, |
| 39 | unsigned char *in, int ilen); | 40 | unsigned char *in, int ilen); |
| 40 | COMP_METHOD *COMP_rle(void ); | 41 | COMP_METHOD *COMP_rle(void ); |
| 41 | #ifdef ZLIB | ||
| 42 | COMP_METHOD *COMP_zlib(void ); | 42 | COMP_METHOD *COMP_zlib(void ); |
| 43 | #endif | ||
| 44 | 43 | ||
| 45 | /* BEGIN ERROR CODES */ | 44 | /* BEGIN ERROR CODES */ |
| 46 | /* The following lines are auto generated by the script mkerr.pl. Any changes | 45 | /* The following lines are auto generated by the script mkerr.pl. Any changes |
| 47 | * made after this point may be overwritten when the script is next run. | 46 | * made after this point may be overwritten when the script is next run. |
| 48 | */ | 47 | */ |
| 48 | void ERR_load_COMP_strings(void); | ||
| 49 | 49 | ||
| 50 | /* Error codes for the COMP functions. */ | 50 | /* Error codes for the COMP functions. */ |
| 51 | 51 | ||
| @@ -57,4 +57,3 @@ COMP_METHOD *COMP_zlib(void ); | |||
| 57 | } | 57 | } |
| 58 | #endif | 58 | #endif |
| 59 | #endif | 59 | #endif |
| 60 | |||
