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

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

?? zipfile.h

?? 利用ZIP庫進行壓縮和解壓縮
?? H
字號:

/* zip.h -- IO for compress .zip files using zlib 
   Version 0.15 alpha, Mar 19th, 1998,

   Copyright (C) 1998 Gilles Vollant

   This unzip package allow creates .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

  For uncompress .zip file, look at unzip.h

   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/zip.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 write error occured
//		- automaticaly free used memory on destruction or exception
//		- modern error notification using exceptions
// Copyright (C) Tadeusz Dracz  
// This notice may not be removed or altered from any source distribution.

// ZipFile.h: interface for the CZipFile class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ZIPFILE_H__7F795F27_D6BD_11D3_B7C7_BBF03FA53147__INCLUDED_)
#define AFX_ZIPFILE_H__7F795F27_D6BD_11D3_B7C7_BBF03FA53147__INCLUDED_

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

#include "ZUBaseFile.h"

struct zip_fileinfo
{
	CTime		tmz_date;       /* date in understandable format           */
    uLong		dosDate;       /* if dos_date == 0, tmu_date is used      */
/*    uLong       flag;        */   /* general purpose bit flag        2 bytes */

    uLong       internal_fa;    /* internal file attributes        2 bytes */
    uLong       external_fa;    /* external file attributes        4 bytes */
public:
	uLong get_dos_date();
	zip_fileinfo();
};

struct curfile_info
{
	curfile_info();
	~curfile_info();
	z_stream stream;            /* zLib stream structure for inflate */
    int  stream_initialised;    /* 1 is stream is initialised */
    UINT pos_in_buffered_data;  /* last written byte in buffered_data */

    DWORD pos_local_header;     /* offset of the local header of the file 
                                     currenty writing */
    char* central_header;       /* central header data for the current file */
    DWORD size_centralheader;   /* size of the central header for cur file */
    uLong flag;                 /* flag of the file currently writing */

    int  method;                /* compression method of file currenty wr.*/
    Byte* buffered_data;/* buffer contain compressed data to be writ*/
    uLong dosDate;
    uLong crc32;
public:
	void free_central_header();
	void alloc_central_header();
};

class linkedlist_datablock_internal
{
public:
  linkedlist_datablock_internal();
  ~linkedlist_datablock_internal();
  class linkedlist_datablock_internal* next_datablock;
  uLong  avail_in_this_block;
  uLong  filled_in_this_block;
  uLong  unused; /* for future use and alignement */
  unsigned char* data;
	
};

class linkedlist_data
{
public:
	void add_data_in_datablock(char* buf, uLong len);
	linkedlist_data();
	~linkedlist_data();
	int write_datablock(CFile & f);
    linkedlist_datablock_internal* first_block;
    linkedlist_datablock_internal* last_block;
};

struct zip_internal
{
	zip_internal();
	~zip_internal();
    CFile filezip;
    linkedlist_data central_dir;/* datablock with central dir in construction*/
    int  in_opened_file_inzip;  /* 1 if a file in the zip is currently writ.*/
    struct curfile_info ci;            /* info on the file curretly writing */

    DWORD begin_pos;            /* position of the beginning of the zipfile */
    DWORD number_entry;
};


class CZipFile : public CZUBaseFile
{
public:
	CZipFile();
	void Open(LPCTSTR pathname, bool append);
/*
  Create a zipfile.
	 if the file pathname exist and append is true, the zip will be created at the end
	   of the file. (useful if the file contain a self extractor code)
*/

	CZipFile(LPCTSTR pathname, bool append = false);
/*
  Open a file in the ZIP for writing.
  filename : the filename in zip (if NULL, '-' without quote will be used
  *zipfi contain supplemental information
  if extrafield_local!=NULL and size_extrafield_local>0, extrafield_local
    contains the extrafield data the the local header
  if extrafield_global!=NULL and size_extrafield_global>0, extrafield_global
    contains the extrafield data the the local header
  if comment != NULL, comment contain the comment string
  method contain the compression method (0 for store, Z_DEFLATED for deflate)
  level contain the level of compression (can be Z_DEFAULT_COMPRESSION)
*/

	void OpenNewFileInZip (	CString filename, 
							zip_fileinfo& zipfi, 
							int level = Z_DEFAULT_COMPRESSION,
							CString comment = "", 
							const void* extrafield_local = NULL, 
							uInt size_extrafield_local = 0, 
							const void* extrafield_global = NULL, 
							uInt size_extrafield_global = 0, 
							int method = Z_DEFLATED);
/*
  Write data in the zipfile
*/

	void WriteInFileInZip(const void *buf, UINT len);
/*
  Close the current file in the zipfile
*/

	void CloseFileInZip();
/*
  Close the zipfile and the current file in the zipfile if is opened
*/
	void Close(CString global_comment = "");
/*
	Fill in zip_fileinfo fields (time an attributes) according to CFile data
*/
	void UpdateZipInfo(zip_fileinfo &zi, CFile &f);
	virtual ~CZipFile();

protected:
	void ziplocal_putValue_inmemory(Byte dest, uLong x, int nbByte);
	void ziplocal_putValue(uLong x, int nbByte);
	zip_internal zi;
};

#endif // !defined(AFX_ZIPFILE_H__7F795F27_D6BD_11D3_B7C7_BBF03FA53147__INCLUDED_)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲综合成人网| 成人福利电影精品一区二区在线观看| 亚洲欧美色图小说| 国产午夜久久久久| 欧美精品一区在线观看| 日韩欧美一区二区视频| 91麻豆精品久久久久蜜臀| 欧美日韩一区二区三区四区| 色成人在线视频| 在线精品国精品国产尤物884a| 91网页版在线| 色婷婷久久久久swag精品| 99精品视频一区二区| 91丨九色丨蝌蚪富婆spa| 91啪亚洲精品| 欧美影院精品一区| 91精品一区二区三区久久久久久| 91精品国产一区二区| 日韩一级黄色片| 欧美成人a∨高清免费观看| 精品处破学生在线二十三| 久久久夜色精品亚洲| 国产欧美日韩久久| 国产精品久久久久久久第一福利| 综合久久久久久| 亚洲夂夂婷婷色拍ww47| 午夜精品久久久久久久蜜桃app | 韩国精品主播一区二区在线观看| 激情五月婷婷综合网| 国产大陆a不卡| 成人99免费视频| 欧美三级韩国三级日本三斤| 这里只有精品视频在线观看| 久久午夜羞羞影院免费观看| 国产精品麻豆久久久| 亚洲精品第一国产综合野| 日韩精品国产欧美| 国精品**一区二区三区在线蜜桃| 高清国产一区二区| 日本精品一区二区三区四区的功能| 欧美日韩精品一区二区三区四区| 日韩一级精品视频在线观看| 国产精品久久毛片| 午夜久久电影网| 国产一区二区三区在线观看精品| 99久久精品国产观看| 这里只有精品99re| 国产精品免费久久| 亚洲电影视频在线| 国产成人亚洲综合a∨婷婷图片| 色悠悠久久综合| 精品第一国产综合精品aⅴ| 亚洲精品日日夜夜| 激情五月播播久久久精品| 97久久久精品综合88久久| 91精品国产综合久久久久久| 中文字幕第一区第二区| 五月婷婷综合网| 99久久精品免费看国产| 欧美xxxxxxxxx| 一区二区三区四区五区视频在线观看 | 在线观看不卡视频| 久久综合九色综合欧美就去吻| 一区二区三区欧美视频| 国产真实乱偷精品视频免| 色999日韩国产欧美一区二区| 精品国产91久久久久久久妲己| 亚洲乱码精品一二三四区日韩在线| 麻豆久久一区二区| 欧美色图一区二区三区| 国产日产精品1区| 日本伊人午夜精品| 欧美主播一区二区三区美女| 国产日韩综合av| 麻豆精品视频在线观看免费| 欧美综合一区二区| 国产精品久久久久天堂| 国产老肥熟一区二区三区| 欧美日本国产视频| 亚洲欧洲99久久| 国产精品一区二区在线看| 日韩一区二区三区免费看| 一区二区三区在线观看国产| 成人免费三级在线| 久久综合九色综合欧美就去吻| 日韩国产精品大片| 欧美伦理电影网| 亚洲综合色在线| 91视频观看视频| 中文字幕欧美激情| 国产伦精品一区二区三区免费迷| 337p亚洲精品色噜噜噜| 亚洲国产一区二区视频| 色天天综合色天天久久| 成人免费一区二区三区在线观看| 国产伦精品一区二区三区免费| 欧美不卡一区二区三区四区| 免费成人在线影院| 日韩欧美自拍偷拍| 日韩国产精品久久久| 69av一区二区三区| 日韩av午夜在线观看| 欧美久久久影院| 天堂一区二区在线| 欧美老年两性高潮| 视频一区二区三区在线| 欧美日韩免费在线视频| 亚洲va国产va欧美va观看| 欧美性色黄大片手机版| 亚洲午夜影视影院在线观看| 欧美日韩一本到| 亚洲成a人v欧美综合天堂| 欧美日本国产视频| 男女男精品视频网| 日韩精品在线看片z| 国产综合色精品一区二区三区| 久久久夜色精品亚洲| 国产成人av电影免费在线观看| 日本一区二区三区免费乱视频| 成人国产精品视频| 亚洲久本草在线中文字幕| 91网站最新网址| 香蕉成人伊视频在线观看| 91精品欧美久久久久久动漫| 激情欧美一区二区| 亚洲国产精品ⅴa在线观看| hitomi一区二区三区精品| 亚洲黄色免费网站| 91精品国产综合久久小美女| 九一九一国产精品| 国产目拍亚洲精品99久久精品| 99久久精品费精品国产一区二区| 亚洲午夜影视影院在线观看| 日韩女优视频免费观看| 风流少妇一区二区| 一区二区高清视频在线观看| 欧美日韩成人高清| 国产乱人伦偷精品视频免下载| 国产精品久久久久aaaa樱花 | 成人开心网精品视频| 亚洲欧美日韩电影| 日韩一区二区三区视频在线观看| 国产一区二区成人久久免费影院| 中文字幕在线不卡一区二区三区| 欧洲激情一区二区| 精品一区二区国语对白| 国产精品丝袜在线| 欧美日本一区二区在线观看| 极品少妇xxxx精品少妇| 国产精品久久久久婷婷| 在线播放欧美女士性生活| 国产a区久久久| 亚洲福利视频导航| 久久精品一区二区三区不卡| 欧美丝袜自拍制服另类| 激情文学综合插| 夜夜嗨av一区二区三区| 久久众筹精品私拍模特| 91理论电影在线观看| 久久成人18免费观看| 亚洲精品国产成人久久av盗摄 | 久久精品欧美日韩精品| 在线免费观看日本欧美| 国产麻豆日韩欧美久久| 亚洲宅男天堂在线观看无病毒| xnxx国产精品| 欧美视频精品在线| 不卡电影一区二区三区| 美女视频黄免费的久久 | 中文字幕一区二区三区视频| 91精品国产aⅴ一区二区| 99久久久国产精品| 久久99久久99精品免视看婷婷 | 亚洲国产欧美在线| 国产精品性做久久久久久| 亚洲一区视频在线| 中文字幕第一区综合| 欧美一级日韩不卡播放免费| av一本久道久久综合久久鬼色| 精品一区二区三区不卡| 亚洲综合视频在线观看| 日本一区二区在线不卡| 欧美一区二区久久| 欧美亚洲禁片免费| jlzzjlzz亚洲日本少妇| 国产一区二区在线观看免费| 日韩高清在线电影| 一级精品视频在线观看宜春院| 中文字幕乱码日本亚洲一区二区| 日韩视频中午一区| 欧美色视频一区| 欧美国产精品久久| 日韩欧美国产精品| 欧美狂野另类xxxxoooo| 色噜噜狠狠色综合中国| 东方aⅴ免费观看久久av| 韩国中文字幕2020精品| 激情文学综合网| 久久福利资源站| 毛片基地黄久久久久久天堂|