initial import

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@2 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2006-12-19 20:53:21 +00:00
parent 2cadbd5e56
commit cc68a136aa
341 changed files with 180839 additions and 0 deletions

View file

@ -0,0 +1,23 @@
class Unzip
{
public:
Unzip();
FILE *file; // Zip file current open
unsigned char head[0x1e]; // Zip entry header
int dataLen; // Zip entry dest (uncompressed) size
char *name; // Name of entry
int gotoFirstFile();
int fileOpen();
int fileClose();
int fileDecode(unsigned char *data);
private:
int srcLen; // Zip entry source (compressed) size
int nameLen,extraLen; // Length of name field and extra fields
int headerPos; // Position of file entry header (PK... etc)
int compPos; // Position of compressed data
};