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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? unzipfile.h

?? winzip 開發環境:C++
?? H
字號:
/* 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_)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人一区二区| 亚洲国产综合色| 日韩写真欧美这视频| 在线播放国产精品二区一二区四区 | 一区二区三区欧美久久| 国产精品第13页| 综合久久综合久久| 日韩理论片在线| 亚洲一区二区不卡免费| 亚洲va在线va天堂| 久久国产乱子精品免费女| 久久精品国产99国产| 国产在线精品免费| 不卡视频免费播放| 欧洲精品一区二区三区在线观看| 欧美性xxxxxx少妇| 制服丝袜国产精品| 久久综合九色综合欧美98| 久久精品免视看| 亚洲免费视频中文字幕| 亚洲超丰满肉感bbw| 久久不见久久见免费视频7| 国产激情91久久精品导航| eeuss鲁片一区二区三区在线观看| gogogo免费视频观看亚洲一| 欧美三级在线看| 2023国产一二三区日本精品2022| 国产精品视频九色porn| 亚洲一区在线观看网站| 久久精品国产亚洲aⅴ| 成人高清伦理免费影院在线观看| 欧美午夜电影网| 久久久久久久久99精品| 亚洲亚洲人成综合网络| 国产在线精品一区在线观看麻豆| 在线视频综合导航| 久久综合久久综合亚洲| 亚洲国产欧美日韩另类综合| 国产一区二区女| 欧美日韩美少妇 | 波多野洁衣一区| 日韩视频在线永久播放| 日韩毛片一二三区| 久久99精品久久久久久动态图| 91一区二区在线| 国产校园另类小说区| 日韩 欧美一区二区三区| 91在线观看成人| 国产欧美中文在线| 麻豆久久久久久久| 欧美疯狂性受xxxxx喷水图片| 欧美国产精品久久| 国产一区二区成人久久免费影院| 欧美视频在线播放| 亚洲男同1069视频| av资源网一区| 国产精品乱码人人做人人爱| 激情综合网av| 日韩午夜在线影院| 日本成人中文字幕| 欧美一区二区三区视频免费播放| 亚洲品质自拍视频| 99精品国产热久久91蜜凸| 国产欧美综合在线| 成人妖精视频yjsp地址| 国产欧美日韩中文久久| 国产精品资源站在线| 欧美精品一区二区三区蜜桃 | 久久精品国产99久久6| 欧美卡1卡2卡| 日日摸夜夜添夜夜添精品视频| 91黄视频在线观看| 亚洲综合av网| 欧美午夜精品免费| 亚洲成国产人片在线观看| 欧美日韩视频不卡| 天天综合网天天综合色| 这里只有精品视频在线观看| 日日摸夜夜添夜夜添精品视频| 欧美日韩精品一区二区三区蜜桃| 亚洲超丰满肉感bbw| 在线播放国产精品二区一二区四区 | 欧美伦理电影网| 丝袜诱惑制服诱惑色一区在线观看 | 欧美日韩在线三级| 日韩—二三区免费观看av| 精品久久久久久久久久久久久久久久久 | 一区二区三区四区激情| 在线精品视频小说1| 日韩二区在线观看| 久久久亚洲国产美女国产盗摄| 国产91精品在线观看| 亚洲美女电影在线| 日韩欧美aaaaaa| 不卡视频在线观看| 日韩国产欧美在线视频| 亚洲精品乱码久久久久久久久 | 蜜桃av噜噜一区二区三区小说| 欧美白人最猛性xxxxx69交| 国产成人aaa| 艳妇臀荡乳欲伦亚洲一区| 91精品国产综合久久精品性色| 精品一区二区三区免费| 亚洲免费色视频| 日韩欧美国产一区二区在线播放 | 日韩一区二区电影| av在线一区二区三区| 亚洲成人自拍一区| 国产三级精品三级在线专区| 91黄色激情网站| 国内精品国产成人国产三级粉色 | 91麻豆精品91久久久久同性| 久久av资源站| 亚洲一二三四区不卡| 国产欧美一区二区精品久导航| 欧美综合色免费| 国产成人a级片| 日韩电影免费在线看| 最近日韩中文字幕| 精品国产伦一区二区三区观看体验 | 丁香婷婷深情五月亚洲| 亚洲va欧美va人人爽| 中文字幕中文字幕中文字幕亚洲无线| 欧美色爱综合网| 91丨九色丨国产丨porny| 久久精品国产一区二区三区免费看| 亚洲欧美另类图片小说| 18涩涩午夜精品.www| 久久免费偷拍视频| 欧美疯狂性受xxxxx喷水图片| 91麻豆自制传媒国产之光| 国产精品一品视频| 精东粉嫩av免费一区二区三区| 亚洲成人av福利| 亚洲综合小说图片| 亚洲另类在线一区| 国产精品福利一区二区三区| 久久久国产精华| 久久色在线视频| 精品国产精品一区二区夜夜嗨| 在线成人免费观看| 欧美精三区欧美精三区| 欧美日韩五月天| 91精品国产综合久久蜜臀| 欧美电影在线免费观看| 欧美一区二区三区白人| 日韩欧美你懂的| 欧美大度的电影原声| 日韩精品一区二区三区视频在线观看| 69堂成人精品免费视频| 欧美日韩免费高清一区色橹橹 | 日韩成人av影视| 婷婷国产v国产偷v亚洲高清| 日韩经典一区二区| 奇米色777欧美一区二区| 另类欧美日韩国产在线| 国产一区二区三区不卡在线观看| 久草在线在线精品观看| 国产精品一色哟哟哟| 成人黄色软件下载| 在线亚洲免费视频| 91精品国产乱| 国产欧美视频一区二区| 亚洲猫色日本管| 婷婷久久综合九色综合伊人色| 美女视频黄免费的久久 | 成人动漫中文字幕| av午夜精品一区二区三区| 欧洲人成人精品| 日韩午夜三级在线| 久久精品视频免费| 亚洲男人的天堂一区二区 | 国产不卡视频在线观看| 成人激情校园春色| 欧美亚州韩日在线看免费版国语版| 欧美精品tushy高清| 26uuu久久天堂性欧美| 国产精品美女一区二区三区| 亚洲综合一区在线| 激情综合五月天| 91电影在线观看| 欧美不卡一二三| 最新日韩在线视频| 久久国产精品一区二区| 99国产精品久久久久久久久久| 欧美午夜寂寞影院| 国产女人aaa级久久久级| 亚洲午夜在线观看视频在线| 久久超碰97中文字幕| 色香蕉久久蜜桃| 337p粉嫩大胆噜噜噜噜噜91av| 亚洲欧洲日本在线| 捆绑变态av一区二区三区| 91亚洲国产成人精品一区二三| 91精品国产高清一区二区三区| 欧美国产精品v| 激情另类小说区图片区视频区| 色网综合在线观看| 国产精品免费av| 国产一区二区剧情av在线|