view src/win32/7zip/7z/CPP/7zip/Archive/GZip/GZipUpdate.h @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
line wrap: on
line source
1 // GZip/Update.h
3 #ifndef __GZIP_UPDATE_H
4 #define __GZIP_UPDATE_H
6 #include "../IArchive.h"
8 #include "../../Common/CreateCoder.h"
10 #ifndef EXTRACT_ONLY
11 #include "GZipOut.h"
12 #endif
13 #include "GZipItem.h"
15 namespace NArchive {
16 namespace NGZip {
18 struct CCompressionMethodMode
19 {
20 UInt32 NumPasses;
21 UInt32 NumFastBytes;
22 UInt32 Algo;
23 bool NumMatchFinderCyclesDefined;
24 UInt32 NumMatchFinderCycles;
25 };
27 HRESULT UpdateArchive(
28 DECL_EXTERNAL_CODECS_LOC_VARS
29 IInStream *inStream,
30 UInt64 unpackSize,
31 ISequentialOutStream *outStream,
32 const CItem &newItem,
33 const CCompressionMethodMode &compressionMethod,
34 int indexInClient,
35 IArchiveUpdateCallback *updateCallback);
37 }}
39 #endif