comperr.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. #ifndef OPENSSL_COMPERR_H
  11. # define OPENSSL_COMPERR_H
  12. # pragma once
  13. # include <openssl/macros.h>
  14. # if !OPENSSL_API_3
  15. # define HEADER_COMPERR_H
  16. # endif
  17. # include <openssl/opensslconf.h>
  18. # include <openssl/symhacks.h>
  19. # include <openssl/opensslconf.h>
  20. # ifndef OPENSSL_NO_COMP
  21. # ifdef __cplusplus
  22. extern "C"
  23. # endif
  24. int ERR_load_COMP_strings(void);
  25. /*
  26. * COMP function codes.
  27. */
  28. # if !OPENSSL_API_3
  29. # define COMP_F_BIO_ZLIB_FLUSH 0
  30. # define COMP_F_BIO_ZLIB_NEW 0
  31. # define COMP_F_BIO_ZLIB_READ 0
  32. # define COMP_F_BIO_ZLIB_WRITE 0
  33. # define COMP_F_COMP_CTX_NEW 0
  34. # endif
  35. /*
  36. * COMP reason codes.
  37. */
  38. # define COMP_R_ZLIB_DEFLATE_ERROR 99
  39. # define COMP_R_ZLIB_INFLATE_ERROR 100
  40. # define COMP_R_ZLIB_NOT_SUPPORTED 101
  41. # endif
  42. #endif