]>
Commit | Line | Data |
---|---|---|
52df25cf RS |
1 | /* |
2 | * Generated by util/mkerr.pl DO NOT EDIT | |
33388b44 | 3 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. |
52df25cf | 4 | * |
48f4ad77 | 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
52df25cf RS |
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 | ||
ae4186b0 DMSP |
11 | #ifndef OPENSSL_COMPERR_H |
12 | # define OPENSSL_COMPERR_H | |
d86167ec DMSP |
13 | # pragma once |
14 | ||
cbfa5b03 RS |
15 | # include <openssl/opensslconf.h> |
16 | # include <openssl/symhacks.h> | |
14a6c6a4 | 17 | # include <openssl/cryptoerr_legacy.h> |
cbfa5b03 | 18 | |
2a6a5607 | 19 | |
048ebccb RL |
20 | # ifndef OPENSSL_NO_COMP |
21 | ||
52df25cf RS |
22 | |
23 | /* | |
24 | * COMP function codes. | |
25 | */ | |
14a6c6a4 | 26 | # ifndef OPENSSL_NO_DEPRECATED_3_0 |
cbfa5b03 RS |
27 | # define COMP_F_BIO_ZLIB_FLUSH 0 |
28 | # define COMP_F_BIO_ZLIB_NEW 0 | |
29 | # define COMP_F_BIO_ZLIB_READ 0 | |
30 | # define COMP_F_BIO_ZLIB_WRITE 0 | |
31 | # define COMP_F_COMP_CTX_NEW 0 | |
14a6c6a4 | 32 | # endif |
52df25cf RS |
33 | |
34 | /* | |
35 | * COMP reason codes. | |
36 | */ | |
048ebccb RL |
37 | # define COMP_R_ZLIB_DEFLATE_ERROR 99 |
38 | # define COMP_R_ZLIB_INFLATE_ERROR 100 | |
39 | # define COMP_R_ZLIB_NOT_SUPPORTED 101 | |
52df25cf | 40 | |
048ebccb | 41 | # endif |
52df25cf | 42 | #endif |