亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? unzipfile.h

?? 利用ZIP庫(kù)進(jìn)行壓縮和解壓縮
?? H
字號(hào):
/* unzip.h -- IO for uncompress .zip files using zlib 
   Version 0.15 beta, Mar 19th, 1998,

   Copyright (C) 1998 Gilles Vollant

   This unzip package allow extract file from .ZIP file, compatible with PKZip 2.04g
     WinZip, InfoZip tools and compatible.
   Encryption and multi volume ZipFile (span) are not supported.
   Old compressions used by old PKZip 1.x are not supported

   THIS IS AN ALPHA VERSION. AT THIS STAGE OF DEVELOPPEMENT, SOMES API OR STRUCTURE
   CAN CHANGE IN FUTURE VERSION !!
   I WAIT FEEDBACK at mail info@winimage.com
   Visit also http://www.winimage.com/zLibDll/unzip.htm for evolution

   Condition of use and distribution are the same than zlib :

  This software is provided 'as-is', without any express or implied
  warranty.  In no event will the authors be held liable for any damages
  arising from the use of this software.

  Permission is granted to anyone to use this software for any purpose,
  including commercial applications, and to alter it and redistribute it
  freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not
     claim that you wrote the original software. If you use this software
     in a product, an acknowledgment in the product documentation would be
     appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be
     misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.


*/
/* for more info about .ZIP format, see 
      ftp://ftp.cdrom.com/pub/infozip/doc/appnote-970311-iz.zip
   PkWare has also a specification at :
      ftp://ftp.pkware.com/probdesc.zip */

// modified by Tadeusz Dracz - 01.2000:
//		- added class' wrapers
//		- several bugs fixed
//		- several enhancements added
//		- MFC support added
//		- memory leaks eliminated when read error occured
//		- automaticaly free used memory on destruction or exception
//		- modern error notification using exceptions
// Copyright (C) 2000 Tadeusz Dracz  
// This notice may not be removed or altered from any source distribution.



// UnzipFile.h: interface for the CUnzipFile class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_UNZIPFILE_H__44D45340_D71F_11D3_B7C7_E77339672847__INCLUDED_)
#define AFX_UNZIPFILE_H__44D45340_D71F_11D3_B7C7_E77339672847__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "ZUBaseFile.h"

/* unz_global_info structure contain global data about the ZIPfile
   These data comes from the end of central dir */
struct unz_global_info
{
	uLong number_entry;         /* total number of entries in
				       the central dir on this disk */
	uLong size_comment;         /* size of the global comment of the zipfile */
};

/* unz_file_info contain information about a file in the zipfile */
struct unz_file_info
{
    uLong version;              /* version made by                 2 bytes */
    uLong version_needed;       /* version needed to extract       2 bytes */
    uLong flag;                 /* general purpose bit flag        2 bytes */
    uLong compression_method;   /* compression method              2 bytes */
    uLong dosDate;              /* last mod file date in Dos fmt   4 bytes */
    uLong crc;                  /* crc-32                          4 bytes */
    uLong compressed_size;      /* compressed size                 4 bytes */ 
    uLong uncompressed_size;    /* uncompressed size               4 bytes */ 
    uLong size_filename;        /* filename length                 2 bytes */
    uLong size_file_extra;      /* extra field length              2 bytes */
    uLong size_file_comment;    /* file comment length             2 bytes */

    uLong disk_num_start;       /* disk number start               2 bytes */
    uLong internal_fa;          /* internal file attributes        2 bytes */
    uLong external_fa;          /* external file attributes        4 bytes */

    CTime tmu_date;
};


/* unz_file_info_interntal contain internal info about a file in zipfile*/
struct unz_file_info_internal
{
    uLong offset_curfile;/* relative offset of local header 4 bytes */
};


/* file_in_zip_read_info_s contain internal information about a file in zipfile,
    when reading and decompress it */
struct file_in_zip_read_info
{
	file_in_zip_read_info();
	~file_in_zip_read_info();
	char  *read_buffer;         /* internal buffer for compressed data */
	z_stream stream;            /* zLib stream structure for inflate */

	uLong pos_in_zipfile;       /* position in byte on the zipfile, for fseek*/
	uLong stream_initialised;   /* flag set if stream structure is initialised*/

	uLong offset_local_extrafield;/* offset of the local extra field */
	uInt  size_local_extrafield;/* size of the local extra field */
	uLong pos_local_extrafield;   /* position in the local extra field in read*/

	uLong crc32;                /* crc32 of all data uncompressed */
	uLong crc32_wait;           /* crc32 we must obtain after decompress all */
	uLong rest_read_compressed; /* number of byte to be decompressed */
	uLong rest_read_uncompressed;/*number of byte to be obtained after decomp*/
// 	CFile* file;                 /* io structore of the zipfile */
	uLong compression_method;   /* compression method (0==store) */
	uLong byte_before_the_zipfile;/* byte before the zipfile, (>0 for sfx)*/
};




/* unz_s contain internal information about the zipfile
*/
struct unz_s
{
	unz_s();
	~unz_s();
	CFile file;                 /* io structore of the zipfile */
	unz_global_info gi;       /* public global information */
	uLong byte_before_the_zipfile;/* byte before the zipfile, (>0 for sfx)*/
	uLong num_file;             /* number of the current file in the zipfile*/
	uLong pos_in_central_dir;   /* pos of the current file in the central dir*/
	uLong current_file_ok;      /* flag about the usability of the current file*/
	uLong central_pos;          /* position of the beginning of the central dir*/

	uLong size_central_dir;     /* size of the central directory  */
	uLong offset_central_dir;   /* offset of start of central directory with
								   respect to the starting disk number */

	unz_file_info cur_file_info; /* public info about the current file in zip*/
	unz_file_info_internal cur_file_info_internal; /* private info about it*/
    file_in_zip_read_info* pfile_in_zip_read; /* structure about the current
	                                    file if we are decompressing it */
public:
	void free_pfile_in_zip_read();
	void alloc_pfile_in_zip_read();
};



class CUnzipFile : public CZUBaseFile
{
public:
/*
 fill in attibutes and time fields of the fileStatus with unz_file_info data
 WARNING: if the file is opened the function closes it
*/
	void UpdateFileStatus(CFile & f, unz_file_info &ui);
	CUnzipFile();
	void Open(LPCTSTR lpszPath);
/*
  Give the current position in uncompressed data
*/
	z_off_t tell();
/*
  return true if the end of file was reached, false elsewhere 
*/
	bool eof();
/*
  Get the global comment string of the ZipFile, in the szComment buffer.
  uSizeBuf is the size of the szComment buffer.
  return the number of byte copied
*/
	int GetGlobalComment (char* szComment, uLong uSizeBuf);
/*
  Read extra field from the current file (opened by OpenCurrentFile)
  This is the local-header version of the extra field (sometimes, there is
    more info in the local-header version than in the central-header)

  if buf==NULL, it return the size of the local extra field

  if buf!=NULL, len is the size of the buffer, the extra header is copied in
	buf.
  the return value is the number of bytes copied in buf
*/
	int GetLocalExtrafield (void* buf, UINT len);
/*
  Get Info about the current file
  if file_info structure will contain somes info about
	    the current file
  if szFileName!=NULL, the filemane string will be copied in szFileName
			(fileNameBufferSize is the size of the buffer)
  if extraField!=NULL, the extra field information will be copied in extraField
			(extraFieldBufferSize is the size of the buffer).
			This is the Central-header version of the extra field
  if szComment!=NULL, the comment string of the file will be copied in szComment
			(commentBufferSize is the size of the buffer)
*/
	void GetCurrentFileInfo ( unz_file_info* file_info, LPSTR szFileName = NULL, 
		uLong fileNameBufferSize = 0, void *extraField = NULL, uLong extraFieldBufferSize = 0,
		LPSTR szComment = NULL, uLong commentBufferSize = 0);
/*
  Write info about the ZipFile in the *pglobal_info structure.
  No preparation of the structure is needed
*/
	void GetGlobalInfo(unz_global_info & global_info);
	
/***************************************************************************/
/* Unzip package allow you browse the directory of the zipfile */

/*
  Set the current file of the zipfile to the first file.
*/
	void GoToFirstFile();
/*
  Set the current file of the zipfile to the next file.
  return true if there is no problem
  return false if the actual file was the latest.
*/
	bool GoToNextFile();
/*
  Try locate the file szFileName in the zipfile.
  For the iCaseSensitivity signification, see unzStringFileNameCompare

  return value :
  true if the file is found. It becomes the current file.
  false if the file is not found
*/
	bool LocateFile(CString szFileName, bool bCaseSensitive = false);
/*
  Open for reading data the current file in the zipfile.
*/
	void OpenCurrentFile();
/*
  Close the file in zip opened with OpenCurrentFile
  throw badCrc error if all the file was read but the CRC is not good
*/
	void CloseCurrentFile();
/*
  Read bytes from the current file (opened by OpenCurrentFile)
  buf contain buffer where data must be copied
  len the size of buf.

  return the number of byte copied if somes bytes are copied
  return 0 if the end of file was reached
*/
	int ReadCurrentFile(void* buf, UINT len);

	void Close();
	int StringFileNameCompare(CString fileName1, CString fileName2, bool caseSensitive = false);
	CUnzipFile(LPCTSTR lpszPath);
	virtual ~CUnzipFile();
protected:
	void unzlocal_GetCurrentFileInfoInternal( unz_file_info & file_info, 
		unz_file_info_internal & file_info_internal, LPSTR szFileName,
		uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize,
		LPSTR szComment, uLong commentBufferSize);

	void unzlocal_DosDateToTmuDate(unz_file_info & file_info);
	void unzlocal_CheckCurrentFileCoherencyHeader (uInt & iSizeVar, uLong & offset_local_extrafield, uLong & size_local_extrafield);
	uLong unzlocal_SearchCentralDir();
	void unzlocal_getLong (uLong & pX);
	void unzlocal_getShort (uLong & pX);
	void unzlocal_getByte(int & pi);
	unz_s uf;

};

#endif // !defined(AFX_UNZIPFILE_H__44D45340_D71F_11D3_B7C7_E77339672847__INCLUDED_)

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
免费成人av资源网| 精品成a人在线观看| 成人黄色国产精品网站大全在线免费观看| 免费xxxx性欧美18vr| 日韩中文字幕一区二区三区| 亚洲一区精品在线| 亚洲国产一区二区三区| 樱桃国产成人精品视频| 一区二区三区在线视频免费| 亚洲精品日产精品乱码不卡| 亚洲另类色综合网站| 亚洲午夜在线观看视频在线| 午夜电影一区二区| 麻豆视频观看网址久久| 狠狠狠色丁香婷婷综合激情| 国产成人在线视频网站| 成人短视频下载| 色94色欧美sute亚洲线路二| 欧美剧情电影在线观看完整版免费励志电影 | 8x8x8国产精品| 日韩免费观看高清完整版| 久久一区二区三区四区| 中文一区二区完整视频在线观看| 国产精品五月天| 亚洲一区在线视频| 看电视剧不卡顿的网站| 懂色av一区二区三区免费看| 91视频国产资源| 这里只有精品电影| 久久久噜噜噜久久中文字幕色伊伊 | 丁香啪啪综合成人亚洲小说| av高清不卡在线| 欧美性色黄大片| 欧美大白屁股肥臀xxxxxx| 久久久久国产成人精品亚洲午夜| 最新中文字幕一区二区三区| 亚洲国产毛片aaaaa无费看| 美女视频黄 久久| 成人黄色片在线观看| 欧美日韩在线观看一区二区| 精品日本一线二线三线不卡| 1区2区3区欧美| 免费av网站大全久久| 成人毛片视频在线观看| 欧美日韩激情在线| 国产欧美一区二区精品婷婷| 亚洲综合清纯丝袜自拍| 国产资源在线一区| 欧美午夜不卡视频| 国产欧美综合在线观看第十页| 亚洲欧美日韩小说| 国产综合色精品一区二区三区| 色婷婷av一区二区三区gif| 欧美成人官网二区| 亚洲男人的天堂av| 国产九色sp调教91| 678五月天丁香亚洲综合网| 国产精品视频一二| 青青草视频一区| 91免费视频观看| 国产清纯美女被跳蛋高潮一区二区久久w| 亚洲在线免费播放| 成人午夜又粗又硬又大| 欧美xxx久久| 五月婷婷久久丁香| 99久久国产免费看| 国产日韩影视精品| 免费观看91视频大全| 在线观看av不卡| 成人欧美一区二区三区小说| 老司机精品视频线观看86 | 中文字幕亚洲不卡| 国内精品国产成人国产三级粉色| 欧美日韩亚洲综合在线| 中文字幕一区二区在线观看| 精品制服美女丁香| 3d成人h动漫网站入口| 一区二区三区在线影院| av福利精品导航| 国产人久久人人人人爽| 久久电影网电视剧免费观看| 欧美网站大全在线观看| 亚洲毛片av在线| 不卡一二三区首页| 国产精品丝袜久久久久久app| 国产永久精品大片wwwapp| 欧美一区二区三区白人| 亚洲成人久久影院| 在线免费观看日韩欧美| 亚洲男人的天堂在线aⅴ视频| 成人免费不卡视频| 欧美高清一级片在线观看| 国产一区二区三区日韩| 欧美精品一区二区三区在线播放| 日韩av电影免费观看高清完整版在线观看 | 99精品久久99久久久久| 国产精品美女久久久久久| 国产精品亚洲第一区在线暖暖韩国| 精品国精品自拍自在线| 开心九九激情九九欧美日韩精美视频电影 | 亚洲色图丝袜美腿| av不卡在线播放| 中日韩免费视频中文字幕| 懂色中文一区二区在线播放| 国产欧美久久久精品影院| 国产成人自拍网| 国产精品色哟哟网站| 成人v精品蜜桃久久一区| 国产精品福利一区二区三区| 91麻豆.com| 亚洲午夜免费视频| 91精品在线一区二区| 蜜桃精品视频在线观看| 久久夜色精品一区| 成人精品视频一区二区三区| 中文字幕永久在线不卡| 91蝌蚪porny成人天涯| 一区二区久久久| 337p亚洲精品色噜噜狠狠| 美女视频黄久久| 国产婷婷色一区二区三区| 成人精品gif动图一区| 一区二区视频在线| 欧美猛男男办公室激情| 理论电影国产精品| 欧美国产激情一区二区三区蜜月| jvid福利写真一区二区三区| 亚洲黄色小视频| 欧美一级日韩免费不卡| 国产乱对白刺激视频不卡| 亚洲视频电影在线| 91精品啪在线观看国产60岁| 国产精品一区二区91| 亚洲欧美一区二区三区久本道91| 欧美日韩成人高清| 国产丶欧美丶日本不卡视频| 亚洲日本欧美天堂| 日韩欧美一级特黄在线播放| 懂色中文一区二区在线播放| 亚洲最新视频在线观看| 日韩欧美一区二区免费| av高清久久久| 免费成人在线视频观看| 中文字幕一区二区三区不卡在线| 欧美日韩激情一区| 国产suv一区二区三区88区| 亚洲一区二区三区国产| 久久一日本道色综合| 欧美性极品少妇| 国产黄人亚洲片| 午夜久久电影网| 国产精品三级视频| 欧美一区二区三区视频免费| 成人黄色在线视频| 蜜臀av性久久久久蜜臀aⅴ四虎| 国产精品乱人伦中文| 欧美一区二区三区电影| 91蜜桃网址入口| 国产一区二区影院| 亚洲成人av一区二区| 国产精品区一区二区三区| 91精品国产一区二区三区蜜臀| 岛国精品在线观看| 免费观看在线综合色| 一区二区三区四区在线| 国产日本亚洲高清| 日韩免费高清av| 欧美亚洲高清一区二区三区不卡| 国产成人啪午夜精品网站男同| 欧美伊人精品成人久久综合97| 精品一区二区免费看| 一区av在线播放| 中文字幕免费不卡| 日韩亚洲欧美在线观看| 91福利精品视频| 成人av影视在线观看| 精品一区二区在线播放| 日韩精彩视频在线观看| 一区二区在线电影| 最新国产精品久久精品| 久久视频一区二区| 欧美久久久久久久久久| 在线视频国内自拍亚洲视频| 99精品欧美一区| 成人午夜视频在线观看| 国产二区国产一区在线观看| 久久国产成人午夜av影院| 在线免费观看视频一区| 99视频国产精品| 国产馆精品极品| 国产毛片一区二区| 精品一区二区av| 另类欧美日韩国产在线| 琪琪一区二区三区| 日韩黄色免费电影| 午夜伦理一区二区| 午夜电影久久久| 日韩电影网1区2区| 日韩精品成人一区二区三区| 婷婷丁香激情综合|