home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 5 / ctrom5b.zip / ctrom5b / PROGRAM / DIVERSEN / FI21 / UNZLDR.H_ / UNZLDR
Text File  |  1995-02-01  |  550b  |  34 lines

  1. #define __UNZLDR_H
  2.  
  3.  
  4. #ifndef __STDIO_H
  5. #include "stdio.h"
  6. #endif
  7. #ifndef __DLLLDR_H
  8. #include "dllldr.h"
  9. #endif
  10.  
  11.  
  12. class lzpunzldr:public dllldr
  13. {
  14.    public:
  15.  
  16.    enum
  17.    {
  18.       ZIP_ANY = 0, ZIP_PKW = 1, ZIP_GNU = 2
  19.    };
  20.  
  21.    int init()
  22.    {
  23.       return dllldr::init("lzpunz.dll");
  24.    }
  25.    int   LzpGetError();
  26.    int   LzpUnzAlloc();
  27.    int   LzpUnzOpen(char path[], int ziptype);
  28.    int   LzpUnzRead(char buf[], unsigned len);
  29.    int   LzpUnzClose();
  30.    void  LzpUnzFree();
  31.    DWORD LzpGetOrigSize(char path[]);
  32. };
  33.  
  34.