comp.h 613 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
  3. *
  4. * Licensed under the Apache License 2.0 (the "License"). You may not use
  5. * this file except in compliance with the License. You can obtain a copy
  6. * in the file LICENSE in the source distribution or at
  7. * https://www.openssl.org/source/license.html
  8. */
  9. #ifndef _INTERNAL_COMP_H
  10. #define _INTERNAL_COMP_H
  11. #include <openssl/comp.h>
  12. void ossl_comp_zlib_cleanup(void);
  13. void ossl_comp_brotli_cleanup(void);
  14. void ossl_comp_zstd_cleanup(void);
  15. struct ssl_comp_st {
  16. int id;
  17. const char *name;
  18. COMP_METHOD *method;
  19. };
  20. #endif