File:  [Previous NeXT emulator] / previous / src / includes / zip.h
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 19:32:31 2018 UTC (8 years, 3 months ago) by root
Branches: giles, MAIN
CVS tags: branch_softfloat, branch_realtime, HEAD
Previous NeXT emulator

/*
  Hatari - zip.h

  This file is distributed under the GNU Public License, version 2 or at
  your option any later version. Read the file gpl.txt for details.
*/

#ifndef HATARI_ZIP_H
#define HATARI_ZIP_H


#include <dirent.h>

typedef struct
{
	char **names;
	int nfiles;
} zip_dir;

bool ZIP_FileNameIsZIP(const char *pszFileName);
struct dirent **ZIP_GetFilesDir(const zip_dir *files, const char *dir, int *entries);
void ZIP_FreeZipDir(zip_dir *zd);
zip_dir *ZIP_GetFiles(const char *pszFileName);
Uint8 *ZIP_ReadDisk(const char *pszFileName, const char *pszZipPath, long *pImageSize);
bool ZIP_WriteDisk(const char *pszFileName,unsigned char *pBuffer,int ImageSize);
Uint8 *ZIP_ReadFirstFile(const char *pszFileName, long *pImageSize, const char * const ppszExts[]);


#endif  /* HATARI_ZIP_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.