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

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

?? zipfile.h

?? 學生信息管理系統x
?? 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一区二区三区免费野_久草精品视频
精品一区二区精品| 亚洲天堂av老司机| 欧美精品日韩综合在线| 色中色一区二区| 91污在线观看| 在线精品亚洲一区二区不卡| 色视频欧美一区二区三区| 一本一道久久a久久精品综合蜜臀| 成人一区在线观看| 色综合天天做天天爱| 欧美在线看片a免费观看| 欧美精品日韩精品| 日韩一区二区三区免费观看| 欧美变态凌虐bdsm| 国产欧美日韩另类一区| 中文一区在线播放| 亚洲人成小说网站色在线| 亚洲一区二三区| 奇米色一区二区三区四区| 国产精品综合网| 91在线你懂得| 日韩欧美中文字幕一区| 国产亚洲精品7777| 亚洲黄色尤物视频| 另类小说图片综合网| 成人午夜视频在线观看| 欧美三级电影在线观看| 精品国产乱码久久久久久夜甘婷婷| 2020国产成人综合网| 亚洲人成网站精品片在线观看| 丝袜国产日韩另类美女| 丁香婷婷深情五月亚洲| 欧美少妇性性性| 国产欧美日本一区视频| 日韩综合小视频| 成人性生交大合| 欧美一区二区女人| 日韩伦理电影网| 国产综合色视频| 欧美美女直播网站| 日韩美女视频一区二区| 美腿丝袜在线亚洲一区| 色爱区综合激月婷婷| 久久日一线二线三线suv| 亚洲黄色av一区| 粉嫩av亚洲一区二区图片| 欧美电影一区二区| 1区2区3区欧美| 国产一区二区三区美女| 欧美精品v国产精品v日韩精品| 国产精品久久久久一区二区三区 | 91麻豆精品国产无毒不卡在线观看| 欧美精品一区二区三区蜜臀| 亚洲成人av免费| 91麻豆6部合集magnet| 国产三区在线成人av| 麻豆视频一区二区| 在线综合视频播放| 日韩黄色免费网站| 成人黄色av电影| 日韩美女视频在线| 午夜精品123| 欧美性大战久久久久久久 | 激情文学综合网| 欧美日韩aaaaaa| 亚洲高清中文字幕| 色婷婷国产精品综合在线观看| 中文字幕一区二区5566日韩| 成人一区二区三区视频在线观看| 日韩一区二区三区视频在线| 日韩精品欧美成人高清一区二区| 欧美系列一区二区| 亚洲综合色视频| 欧美主播一区二区三区| 亚洲国产精品久久一线不卡| 色综合久久88色综合天天| 亚洲精品一区二区三区精华液| 一区二区三区四区亚洲| 91国产免费观看| 亚洲亚洲精品在线观看| 欧美日韩在线播放| 青娱乐精品在线视频| 日韩免费电影网站| 国内国产精品久久| 国产色综合久久| 91婷婷韩国欧美一区二区| 亚洲欧洲综合另类| 欧美日韩成人一区| 国产在线看一区| 国产色爱av资源综合区| 91在线观看免费视频| 五月激情六月综合| 久久久噜噜噜久久中文字幕色伊伊 | 久久久久国产精品厨房| 懂色一区二区三区免费观看| 亚洲欧洲精品成人久久奇米网| 99精品偷自拍| 日韩精品一二三区| 国产日韩影视精品| 一本大道av一区二区在线播放| 午夜精品一区二区三区三上悠亚 | 99久久精品99国产精品| 亚洲影院久久精品| 精品国产一区二区三区久久影院| 国产999精品久久| 亚洲国产日韩综合久久精品| 欧美刺激午夜性久久久久久久| 成人免费视频免费观看| 亚洲www啪成人一区二区麻豆| 精品对白一区国产伦| 91蜜桃网址入口| 老汉av免费一区二区三区 | 婷婷综合久久一区二区三区| 欧美精品一区二区三区久久久 | 国产精品亚洲综合一区在线观看| 亚洲视频网在线直播| 精品播放一区二区| 欧美性xxxxx极品少妇| 国产成人精品亚洲日本在线桃色| 亚洲一区二区综合| 中文字幕一区二区三区在线观看| 欧美挠脚心视频网站| 91免费视频网址| 国产一区 二区 三区一级| 亚洲一区二区视频在线观看| 中文字幕精品三区| 日韩视频123| 欧美色手机在线观看| 成人黄色777网| 狠狠色狠狠色综合系列| 天天综合色天天| 亚洲综合在线第一页| 国产精品动漫网站| 欧美激情一区在线| 国产视频视频一区| 久久亚洲一级片| 精品久久人人做人人爰| 欧美日精品一区视频| 日本韩国欧美一区二区三区| 99久久免费精品高清特色大片| 国产在线视视频有精品| 久久国内精品视频| 日韩av一区二区三区| 亚洲电影第三页| 亚洲丶国产丶欧美一区二区三区| 一区二区久久久| 亚洲一二三区在线观看| 亚洲一区二区三区激情| 亚洲一区二区三区影院| 亚洲综合色在线| 午夜视频在线观看一区二区| 午夜精品久久久久| 三级影片在线观看欧美日韩一区二区 | 2020国产精品自拍| 久久久国产精品午夜一区ai换脸| 日韩精品一区二区三区蜜臀 | 亚洲午夜久久久久久久久电影院| 亚洲欧美日韩在线不卡| 夜夜精品视频一区二区| 亚洲一区二区三区爽爽爽爽爽| 污片在线观看一区二区| 青草av.久久免费一区| 激情久久五月天| 国产成人免费视频精品含羞草妖精 | 免费在线一区观看| 九九九久久久精品| 国产成人精品在线看| 99精品黄色片免费大全| 欧洲一区二区三区在线| 91精品福利在线一区二区三区 | 欧美三级韩国三级日本一级| 欧美日韩国产色站一区二区三区| 制服.丝袜.亚洲.中文.综合| 欧美aaaaaa午夜精品| 欧美艳星brazzers| 精品视频在线免费观看| 制服视频三区第一页精品| 精品久久久久久久一区二区蜜臀| 久久九九99视频| 亚洲妇女屁股眼交7| 久久99精品视频| 91丨九色porny丨蝌蚪| 777xxx欧美| 中文字幕av在线一区二区三区| 亚洲精品v日韩精品| 日韩av中文字幕一区二区 | 亚洲一区二区免费视频| 午夜天堂影视香蕉久久| 国产乱淫av一区二区三区| 91看片淫黄大片一级在线观看| 91精品国产品国语在线不卡| 国产精品国产三级国产aⅴ中文| 亚洲国产精品嫩草影院| 成人高清视频免费观看| 欧美精品在线一区二区| 中文字幕一区在线| 国内精品免费**视频| 精品视频免费看| 最近日韩中文字幕| 国产综合一区二区|