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