1
0

InflateObject.h 904 B

12345678910111213141516171819202122232425262728
  1. #ifndef NULLSOFT_WINAMP_INFLATEOBJECT_H
  2. #define NULLSOFT_WINAMP_INFLATEOBJECT_H
  3. #include "api_inflate.h"
  4. class ZLIBInflate : public api_inflate
  5. {
  6. public:
  7. static const char *getServiceName() { return "zlib inflate"; }
  8. static const GUID getServiceGuid() { return inflateGUID; }
  9. public:
  10. int Reset(void *strm);
  11. int Init(void *strm, const char *version, int stream_size);
  12. int Init2(void *strm, int windowBits, const char *version, int stream_size);
  13. int Inflate(void *strm, int flush);
  14. int End(void *strm);
  15. unsigned long CRC32(unsigned long crc, const unsigned char *buf, unsigned int len);
  16. int deflateReset(void *strm);
  17. int deflateInit2_(void *strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size);
  18. int deflate(void *strm, int flush);
  19. int deflateEnd(void *strm);
  20. protected:
  21. RECVS_DISPATCH;
  22. };
  23. extern ZLIBInflate *zlibInflate;
  24. #endif