]> git.ipfire.org Git - thirdparty/openssl.git/blob - include/openssl/comperr.h
588457450d9450c42a4a5078c3fbdbd0ee9dfac3
[thirdparty/openssl.git] / include / openssl / comperr.h
1 /*
2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2020 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
18
19 # include <openssl/opensslconf.h>
20
21 # ifndef OPENSSL_NO_COMP
22
23 # ifdef __cplusplus
24 extern "C"
25 # endif
26 int ERR_load_COMP_strings(void);
27
28 /*
29 * COMP function codes.
30 */
31 # ifndef OPENSSL_NO_DEPRECATED_3_0
32 # define COMP_F_BIO_ZLIB_FLUSH 0
33 # define COMP_F_BIO_ZLIB_NEW 0
34 # define COMP_F_BIO_ZLIB_READ 0
35 # define COMP_F_BIO_ZLIB_WRITE 0
36 # define COMP_F_COMP_CTX_NEW 0
37 # endif
38
39 /*
40 * COMP reason codes.
41 */
42 # define COMP_R_ZLIB_DEFLATE_ERROR 99
43 # define COMP_R_ZLIB_INFLATE_ERROR 100
44 # define COMP_R_ZLIB_NOT_SUPPORTED 101
45
46 # endif
47 #endif