Add a skeleton default provider
[openssl.git] / include / openssl / comperr.h
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 1995-2019 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 HEADER_COMPERR_H
12 # define HEADER_COMPERR_H
13
14 # ifndef HEADER_SYMHACKS_H
15 #  include <openssl/symhacks.h>
16 # endif
17
18 # include <openssl/opensslconf.h>
19
20 # ifndef OPENSSL_NO_COMP
21
22 #  ifdef  __cplusplus
23 extern "C"
24 #  endif
25 int ERR_load_COMP_strings(void);
26
27 /*
28  * COMP function codes.
29  */
30 #  define COMP_F_BIO_ZLIB_FLUSH                            99
31 #  define COMP_F_BIO_ZLIB_NEW                              100
32 #  define COMP_F_BIO_ZLIB_READ                             101
33 #  define COMP_F_BIO_ZLIB_WRITE                            102
34 #  define COMP_F_COMP_CTX_NEW                              103
35
36 /*
37  * COMP reason codes.
38  */
39 #  define COMP_R_ZLIB_DEFLATE_ERROR                        99
40 #  define COMP_R_ZLIB_INFLATE_ERROR                        100
41 #  define COMP_R_ZLIB_NOT_SUPPORTED                        101
42
43 # endif
44 #endif