diff options
author | bashi@chromium.org <bashi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-18 23:34:41 +0000 |
---|---|---|
committer | bashi@chromium.org <bashi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-18 23:34:41 +0000 |
commit | 50cf47f0c5a315d9f0c092ece1f3c9d207dbd650 (patch) | |
tree | 9c2b550cf1e892ae4b9283fd5f995d07eb1e5e9f /third_party/lzma_sdk/7zBuf.h | |
parent | 23981084df9ff50201ae6971b743270bd35e0e4b (diff) | |
download | chromium_src-50cf47f0c5a315d9f0c092ece1f3c9d207dbd650.zip chromium_src-50cf47f0c5a315d9f0c092ece1f3c9d207dbd650.tar.gz chromium_src-50cf47f0c5a315d9f0c092ece1f3c9d207dbd650.tar.bz2 |
Revert 132887 - Update lzma_sdk to 9.20
Copied only C code required to open 7z archive files and
uncompress LZMA compression.
Updated chrome/installer/util/lzma_util.cc to follow API
changes.
BUG=None
TEST=installer_util_unittests --gtest_filter='LzmaUtilTest.*'
Review URL: http://codereview.chromium.org/10114005
TBR=bashi@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10035048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132895 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/lzma_sdk/7zBuf.h')
-rw-r--r-- | third_party/lzma_sdk/7zBuf.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/third_party/lzma_sdk/7zBuf.h b/third_party/lzma_sdk/7zBuf.h deleted file mode 100644 index e9f2f31..0000000 --- a/third_party/lzma_sdk/7zBuf.h +++ /dev/null @@ -1,39 +0,0 @@ -/* 7zBuf.h -- Byte Buffer -2009-02-07 : Igor Pavlov : Public domain */ - -#ifndef __7Z_BUF_H -#define __7Z_BUF_H - -#include "Types.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct -{ - Byte *data; - size_t size; -} CBuf; - -void Buf_Init(CBuf *p); -int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc); -void Buf_Free(CBuf *p, ISzAlloc *alloc); - -typedef struct -{ - Byte *data; - size_t size; - size_t pos; -} CDynBuf; - -void DynBuf_Construct(CDynBuf *p); -void DynBuf_SeekToBeg(CDynBuf *p); -int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc); -void DynBuf_Free(CDynBuf *p, ISzAlloc *alloc); - -#ifdef __cplusplus -} -#endif - -#endif |