You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

48 lines
1.3 KiB

  1. /*
  2. * Compression handling functions
  3. *
  4. * Copyright (C) 2008-2019, Joachim Metz <joachim.metz@gmail.com>
  5. *
  6. * Refer to AUTHORS for acknowledgements.
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU Lesser General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public License
  19. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  20. */
  21. #if !defined( _LIBPFF_COMPRESS_H )
  22. #define _LIBPFF_COMPRESS_H
  23. #include <common.h>
  24. #include <types.h>
  25. #include "libpff_libcerror.h"
  26. #if defined( __cplusplus )
  27. extern "C" {
  28. #endif
  29. int libpff_decompress_data(
  30. const uint8_t *compressed_data,
  31. size_t compressed_data_size,
  32. uint16_t compression_method,
  33. uint8_t *uncompressed_data,
  34. size_t *uncompressed_data_size,
  35. libcerror_error_t **error );
  36. #if defined( __cplusplus )
  37. }
  38. #endif
  39. #endif /* !defined( _LIBPFF_COMPRESS_H ) */