comperr.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2018 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 HEADER_COMPERR_H
  11. # define HEADER_COMPERR_H
  12. # include <openssl/opensslconf.h>
  13. # ifndef OPENSSL_NO_COMP
  14. # ifdef __cplusplus
  15. extern "C"
  16. # endif
  17. int ERR_load_COMP_strings(void);
  18. /*
  19. * COMP function codes.
  20. */
  21. # define COMP_F_BIO_ZLIB_FLUSH 99
  22. # define COMP_F_BIO_ZLIB_NEW 100
  23. # define COMP_F_BIO_ZLIB_READ 101
  24. # define COMP_F_BIO_ZLIB_WRITE 102
  25. # define COMP_F_COMP_CTX_NEW 103
  26. /*
  27. * COMP reason codes.
  28. */
  29. # define COMP_R_ZLIB_DEFLATE_ERROR 99
  30. # define COMP_R_ZLIB_INFLATE_ERROR 100
  31. # define COMP_R_ZLIB_NOT_SUPPORTED 101
  32. # endif
  33. #endif