diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/win32/7zip/7z/CPP/7zip/Archive/GZip/GZipUpdate.h	Sat Mar 03 10:31:27 2012 -0600
     1.3 @@ -0,0 +1,39 @@
     1.4 +// GZip/Update.h
     1.5 +
     1.6 +#ifndef __GZIP_UPDATE_H
     1.7 +#define __GZIP_UPDATE_H
     1.8 +
     1.9 +#include "../IArchive.h"
    1.10 +
    1.11 +#include "../../Common/CreateCoder.h"
    1.12 +
    1.13 +#ifndef EXTRACT_ONLY
    1.14 +#include "GZipOut.h"
    1.15 +#endif
    1.16 +#include "GZipItem.h"
    1.17 +
    1.18 +namespace NArchive {
    1.19 +namespace NGZip {
    1.20 +
    1.21 +struct CCompressionMethodMode
    1.22 +{
    1.23 +  UInt32 NumPasses;
    1.24 +  UInt32 NumFastBytes;
    1.25 +  UInt32 Algo;
    1.26 +  bool NumMatchFinderCyclesDefined;
    1.27 +  UInt32 NumMatchFinderCycles;
    1.28 +};
    1.29 +
    1.30 +HRESULT UpdateArchive(
    1.31 +    DECL_EXTERNAL_CODECS_LOC_VARS
    1.32 +    IInStream *inStream,
    1.33 +    UInt64 unpackSize,
    1.34 +    ISequentialOutStream *outStream,
    1.35 +    const CItem &newItem,
    1.36 +    const CCompressionMethodMode &compressionMethod,
    1.37 +    int indexInClient,
    1.38 +    IArchiveUpdateCallback *updateCallback);
    1.39 +
    1.40 +}}
    1.41 +
    1.42 +#endif