Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/Archive/GZip/GZipUpdate.h')
-rwxr-xr-xCPP/7zip/Archive/GZip/GZipUpdate.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/CPP/7zip/Archive/GZip/GZipUpdate.h b/CPP/7zip/Archive/GZip/GZipUpdate.h
new file mode 100755
index 00000000..c06e8a4c
--- /dev/null
+++ b/CPP/7zip/Archive/GZip/GZipUpdate.h
@@ -0,0 +1,32 @@
+// GZip/Update.h
+
+#ifndef __GZIP_UPDATE_H
+#define __GZIP_UPDATE_H
+
+#include "../IArchive.h"
+
+#include "GZipOut.h"
+#include "GZipItem.h"
+
+namespace NArchive {
+namespace NGZip {
+
+struct CCompressionMethodMode
+{
+ UInt32 NumPasses;
+ UInt32 NumFastBytes;
+ bool NumMatchFinderCyclesDefined;
+ UInt32 NumMatchFinderCycles;
+};
+
+HRESULT UpdateArchive(IInStream *inStream,
+ UInt64 unpackSize,
+ ISequentialOutStream *outStream,
+ const CItem &newItem,
+ const CCompressionMethodMode &compressionMethod,
+ int indexInClient,
+ IArchiveUpdateCallback *updateCallback);
+
+}}
+
+#endif