xref: /freebsd/crypto/openssl/include/openssl/comperr.h (revision e7be843b4a162e68651d3911f0357ed464915629)
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4  *
5  * Licensed under the Apache License 2.0 (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 OPENSSL_COMPERR_H
12 # define OPENSSL_COMPERR_H
13 # pragma once
14 
15 # include <openssl/opensslconf.h>
16 # include <openssl/symhacks.h>
17 # include <openssl/cryptoerr_legacy.h>
18 
19 
20 # ifndef OPENSSL_NO_COMP
21 
22 
23 /*
24  * COMP reason codes.
25  */
26 #  define COMP_R_BROTLI_DECODE_ERROR                       102
27 #  define COMP_R_BROTLI_ENCODE_ERROR                       103
28 #  define COMP_R_BROTLI_NOT_SUPPORTED                      104
29 #  define COMP_R_ZLIB_DEFLATE_ERROR                        99
30 #  define COMP_R_ZLIB_INFLATE_ERROR                        100
31 #  define COMP_R_ZLIB_NOT_SUPPORTED                        101
32 #  define COMP_R_ZSTD_COMPRESS_ERROR                       105
33 #  define COMP_R_ZSTD_DECODE_ERROR                         106
34 #  define COMP_R_ZSTD_DECOMPRESS_ERROR                     107
35 #  define COMP_R_ZSTD_NOT_SUPPORTED                        108
36 
37 # endif
38 #endif
39