comperr.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 OpenSSL license (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. # ifndef HEADER_SYMHACKS_H
  13. # include <openssl/symhacks.h>
  14. # endif
  15. # include <openssl/opensslconf.h>
  16. # ifndef OPENSSL_NO_COMP
  17. # ifdef __cplusplus
  18. extern "C"
  19. # endif
  20. int ERR_load_COMP_strings(void);
  21. /*
  22. * COMP function codes.
  23. */
  24. # define COMP_F_BIO_ZLIB_FLUSH 99
  25. # define COMP_F_BIO_ZLIB_NEW 100
  26. # define COMP_F_BIO_ZLIB_READ 101
  27. # define COMP_F_BIO_ZLIB_WRITE 102
  28. # define COMP_F_COMP_CTX_NEW 103
  29. /*
  30. * COMP reason codes.
  31. */
  32. # define COMP_R_ZLIB_DEFLATE_ERROR 99
  33. # define COMP_R_ZLIB_INFLATE_ERROR 100
  34. # define COMP_R_ZLIB_NOT_SUPPORTED 101
  35. # endif
  36. #endif