Team Fortress 2 Source Code as on 22/4/2020
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.

39 lines
652 B

  1. /* XzEnc.h -- Xz Encode
  2. 2011-02-07 : Igor Pavlov : Public domain */
  3. #ifndef __XZ_ENC_H
  4. #define __XZ_ENC_H
  5. #include "Lzma2Enc.h"
  6. #include "Xz.h"
  7. EXTERN_C_BEGIN
  8. typedef struct
  9. {
  10. UInt32 id;
  11. UInt32 delta;
  12. UInt32 ip;
  13. int ipDefined;
  14. } CXzFilterProps;
  15. void XzFilterProps_Init(CXzFilterProps *p);
  16. typedef struct
  17. {
  18. const CLzma2EncProps *lzma2Props;
  19. const CXzFilterProps *filterProps;
  20. unsigned checkId;
  21. } CXzProps;
  22. void XzProps_Init(CXzProps *p);
  23. SRes Xz_Encode(ISeqOutStream *outStream, ISeqInStream *inStream,
  24. const CXzProps *props, ICompressProgress *progress);
  25. SRes Xz_EncodeEmpty(ISeqOutStream *outStream);
  26. EXTERN_C_END
  27. #endif