| 1 | /* |
| 2 | * Generated by util/mkerr.pl DO NOT EDIT |
| 3 | * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved. |
| 4 | * |
| 5 | * Licensed under the OpenSSL license (the "License"). You may not use |
| 6 | * this file except in compliance with the License. You can obtain a copy |
| 7 | * in the file LICENSE in the source distribution or at |
| 8 | * https://www.openssl.org/source/license.html |
| 9 | */ |
| 10 | |
| 11 | #ifndef HEADER_COMPERR_H |
| 12 | # define |
| 13 | |
| 14 | # include <openssl/opensslconf.h> |
| 15 | |
| 16 | # ifndef OPENSSL_NO_COMP |
| 17 | |
| 18 | # ifdef __cplusplus |
| 19 | extern "C" |
| 20 | # endif |
| 21 | int ERR_load_COMP_strings(void); |
| 22 | |
| 23 | /* |
| 24 | * COMP function codes. |
| 25 | */ |
| 26 | # define COMP_F_BIO_ZLIB_FLUSH 99 |
| 27 | # define COMP_F_BIO_ZLIB_NEW 100 |
| 28 | # define COMP_F_BIO_ZLIB_READ 101 |
| 29 | # define COMP_F_BIO_ZLIB_WRITE 102 |
| 30 | # define COMP_F_COMP_CTX_NEW 103 |
| 31 | |
| 32 | /* |
| 33 | * COMP reason codes. |
| 34 | */ |
| 35 | # define COMP_R_ZLIB_DEFLATE_ERROR 99 |
| 36 | # define COMP_R_ZLIB_INFLATE_ERROR 100 |
| 37 | # define COMP_R_ZLIB_NOT_SUPPORTED 101 |
| 38 | |
| 39 | # endif |
| 40 | #endif |
| 41 | |