资源简介
ZipArchive可以压缩多个文件,
I try to ship small applications that download assets upon launch. A good way to send these assets over the wire is to zip them up and stick them on your server. I have written an article about this on iCodeBlog.
代码片段和文件信息
/* ioapi.c -- IO base function header for compress/uncompress .zip
files using zlib + zip or unzip API
Version 1.01e February 12th 2005
Copyright (C) 1998-2005 Gilles Vollant
*/
#include
#include
#include
#include “zlib.h“
#include “ioapi.h“
/* I‘ve found an old Unix (a SunOS 4.1.3_U1) without all SEEK_* defined.... */
#ifndef SEEK_CUR
#define SEEK_CUR 1
#endif
#ifndef SEEK_END
#define SEEK_END 2
#endif
#ifndef SEEK_SET
#define SEEK_SET 0
#endif
voidpf ZCALLBACK fopen_file_func OF((
voidpf opaque
const char* filename
int mode));
uLong ZCALLBACK fread_file_func OF((
voidpf opaque
voidpf stream
void* buf
uLong size));
uLong ZCALLBACK fwrite_file_func OF((
v
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2009-10-16 10:02 minizip\
文件 4844 2009-04-23 11:32 minizip\crypt.h
文件 3871 2009-04-23 11:32 minizip\ioapi.c
文件 2610 2009-04-23 11:32 minizip\ioapi.h
文件 8266 2009-04-23 11:32 minizip\mztools.c
文件 712 2009-04-23 11:32 minizip\mztools.h
文件 50890 2009-04-23 11:32 minizip\unzip.c
文件 13322 2009-04-23 11:32 minizip\unzip.h
文件 38572 2009-04-23 11:32 minizip\zip.c
文件 9082 2009-04-23 11:32 minizip\zip.h
文件 1111 2009-10-21 11:32 ZipArchive.h
目录 0 2009-10-21 11:32 __MACOSX\
文件 171 2009-10-21 11:32 __MACOSX\._ZipArchive.h
文件 8455 2009-10-21 11:28 ZipArchive.mm
文件 171 2009-10-21 11:28 __MACOSX\._ZipArchive.mm
评论
共有 条评论