]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/comperr.h
Regenerate mkerr files
[thirdparty/openssl.git] / include / openssl / comperr.h
CommitLineData
52df25cf
RS
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
2a6a5607 3 * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
52df25cf 4 *
48f4ad77 5 * Licensed under the Apache License 2.0 (the "License"). You may not use
52df25cf
RS
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
cbfa5b03
RS
14# include <openssl/opensslconf.h>
15# include <openssl/symhacks.h>
16
2a6a5607 17
048ebccb
RL
18# include <openssl/opensslconf.h>
19
20# ifndef OPENSSL_NO_COMP
21
22# ifdef __cplusplus
a699b8e4 23extern "C"
048ebccb 24# endif
52df25cf 25int ERR_load_COMP_strings(void);
52df25cf
RS
26
27/*
28 * COMP function codes.
29 */
cbfa5b03
RS
30# if !OPENSSL_API_3
31# define COMP_F_BIO_ZLIB_FLUSH 0
32# define COMP_F_BIO_ZLIB_NEW 0
33# define COMP_F_BIO_ZLIB_READ 0
34# define COMP_F_BIO_ZLIB_WRITE 0
35# define COMP_F_COMP_CTX_NEW 0
36# endif
52df25cf
RS
37
38/*
39 * COMP reason codes.
40 */
048ebccb
RL
41# define COMP_R_ZLIB_DEFLATE_ERROR 99
42# define COMP_R_ZLIB_INFLATE_ERROR 100
43# define COMP_R_ZLIB_NOT_SUPPORTED 101
52df25cf 44
048ebccb 45# endif
52df25cf 46#endif