|
|
1.1 root 1: /*
1.1.1.2 root 2: Hatari - zip.h
3:
4: This file is distributed under the GNU Public License, version 2 or at
5: your option any later version. Read the file gpl.txt for details.
1.1 root 6: */
1.1.1.2 root 7:
8: #ifndef HATARI_ZIP_H
9: #define HATARI_ZIP_H
10:
11:
1.1 root 12: #include <dirent.h>
13:
14: typedef struct {
15: char **names;
16: int nfiles;
17: } zip_dir;
18:
1.1.1.2 root 19: extern BOOL ZIP_FileNameIsZIP(char *pszFileName);
1.1 root 20: extern struct dirent **ZIP_GetFilesDir(zip_dir *files, char *dir, int *entries);
1.1.1.2 root 21: extern void ZIP_FreeZipDir(zip_dir *zd);
1.1 root 22: extern zip_dir *ZIP_GetFiles(char *pszFileName);
1.1.1.3 ! root 23: extern Uint8 *ZIP_ReadDisk(char *pszFileName, char *pszZipPath, long *pImageSize);
! 24: extern BOOL ZIP_WriteDisk(char *pszFileName,unsigned char *pBuffer,int ImageSize);
1.1 root 25:
26:
1.1.1.2 root 27: #endif /* HATARI_ZIP_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.