table.h 631 B

1234567891011121314151617181920212223242526
  1. #ifndef table_h_asd78567asdf
  2. #define table_h_asd78567asdf
  3. #include <string.h>
  4. #if defined(__cplusplus)
  5. extern "C" {
  6. #endif
  7. struct TQuickLZMethods {
  8. size_t (*SizeDecompressed)(const char* source);
  9. size_t (*SizeCompressed)(const char* source);
  10. size_t (*Decompress)(const char* source, void* destination, char* scratch_decompress);
  11. size_t (*Compress)(const void* source, char* destination, size_t size, char* scratch_compress);
  12. int (*Setting)(int setting);
  13. const char* Name;
  14. };
  15. struct TQuickLZMethods* GetLzqTable(unsigned ver, unsigned level, unsigned buf);
  16. #if defined(__cplusplus)
  17. }
  18. #endif
  19. #endif