1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2021 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#include <openssl/cryptoerr_legacy.h>
18
19#ifndef OPENSSL_NO_COMP
20
21/*
22 * COMP reason codes.
23 */
24#define COMP_R_BROTLI_DECODE_ERROR 102
25#define COMP_R_BROTLI_ENCODE_ERROR 103
26#define COMP_R_BROTLI_NOT_SUPPORTED 104
27#define COMP_R_ZLIB_DEFLATE_ERROR 99
28#define COMP_R_ZLIB_INFLATE_ERROR 100
29#define COMP_R_ZLIB_NOT_SUPPORTED 101
30#define COMP_R_ZSTD_COMPRESS_ERROR 105
31#define COMP_R_ZSTD_DECODE_ERROR 106
32#define COMP_R_ZSTD_DECOMPRESS_ERROR 107
33#define COMP_R_ZSTD_NOT_SUPPORTED 108
34
35#endif
36#endif
37