2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
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
11 #ifndef OPENSSL_COMPERR_H
12 # define OPENSSL_COMPERR_H
15 # include <openssl/macros.h>
16 # ifndef OPENSSL_NO_DEPRECATED_3_0
17 # define HEADER_COMPERR_H
20 # include <openssl/opensslconf.h>
21 # include <openssl/symhacks.h>
24 # include <openssl/opensslconf.h>
26 # ifndef OPENSSL_NO_COMP
31 int ERR_load_COMP_strings(void);
34 * COMP function codes.
36 # ifndef OPENSSL_NO_DEPRECATED_3_0
37 # define COMP_F_BIO_ZLIB_FLUSH 0
38 # define COMP_F_BIO_ZLIB_NEW 0
39 # define COMP_F_BIO_ZLIB_READ 0
40 # define COMP_F_BIO_ZLIB_WRITE 0
41 # define COMP_F_COMP_CTX_NEW 0
47 # define COMP_R_ZLIB_DEFLATE_ERROR 99
48 # define COMP_R_ZLIB_INFLATE_ERROR 100
49 # define COMP_R_ZLIB_NOT_SUPPORTED 101